From a95f1f1187e301e7beb17c7a691bdbdc46e4803e Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sat, 12 Jun 2021 20:04:12 +0300 Subject: [PATCH] erosion fix --- modules/ui/heightmap-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/heightmap-editor.js b/modules/ui/heightmap-editor.js index 935660ca..1b4e58bf 100644 --- a/modules/ui/heightmap-editor.js +++ b/modules/ui/heightmap-editor.js @@ -405,7 +405,7 @@ function editHeightmap() { drawStates(); drawBorders(); - if (erosion) { + if (erosionAllowed) { Rivers.specify(); Lakes.generateName(); }