refactor: drawCoastline and createDefaultRuler

This commit is contained in:
Azgaar 2024-09-06 02:02:43 +02:00
parent 2ebc2e9733
commit 088faf9e26
12 changed files with 207 additions and 180 deletions

View file

@ -225,6 +225,7 @@ function editHeightmap(options) {
calculateTemperatures();
generatePrecipitation();
reGraph();
reMarkFeatures();
drawCoastline();
Rivers.generate(erosionAllowed);
@ -343,6 +344,7 @@ function editHeightmap(options) {
calculateTemperatures();
generatePrecipitation();
reGraph();
reMarkFeatures();
drawCoastline();
if (erosionAllowed) Rivers.generate(true);