diff --git a/modules/ui/heightmap-editor.js b/modules/ui/heightmap-editor.js index 6cf1e7ab..da4722c8 100644 --- a/modules/ui/heightmap-editor.js +++ b/modules/ui/heightmap-editor.js @@ -991,6 +991,8 @@ function editHeightmap(options) { const seed = byId("templateSeed").value; if (seed) Math.random = aleaPRNG(seed); + + HeightmapGenerator.resetHeights(); restartHistory(); for (const step of steps) {