mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
refactor: drawHeightmap
This commit is contained in:
parent
3b1e993e9a
commit
4b32ba1256
7 changed files with 148 additions and 154 deletions
|
|
@ -128,8 +128,7 @@ function regenerateRivers() {
|
|||
Rivers.generate();
|
||||
Lakes.defineGroup();
|
||||
Rivers.specify();
|
||||
if (!layerIsOn("toggleRivers")) toggleRivers();
|
||||
else drawRivers();
|
||||
if (layerIsOn("toggleRivers")) drawRivers();
|
||||
}
|
||||
|
||||
function recalculatePopulation() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue