mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
heightmap - fix issues
This commit is contained in:
parent
fc4f4827c1
commit
bc3c5d2b86
1 changed files with 2 additions and 0 deletions
|
|
@ -991,6 +991,8 @@ function editHeightmap(options) {
|
||||||
|
|
||||||
const seed = byId("templateSeed").value;
|
const seed = byId("templateSeed").value;
|
||||||
if (seed) Math.random = aleaPRNG(seed);
|
if (seed) Math.random = aleaPRNG(seed);
|
||||||
|
|
||||||
|
HeightmapGenerator.resetHeights();
|
||||||
restartHistory();
|
restartHistory();
|
||||||
|
|
||||||
for (const step of steps) {
|
for (const step of steps) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue