Fractious template

This commit is contained in:
Azgaar 2022-05-21 19:46:42 +03:00 committed by Peter
parent 69823ceeb0
commit 17baa09a78
2 changed files with 4 additions and 2 deletions

View file

@ -989,6 +989,10 @@ function editHeightmap(options) {
HeightmapGenerator.setGraph(grid);
restartHistory();
const seed = byId("templateSeed").value;
if (seed) Math.random = aleaPRNG(seed);
restartHistory();
for (const step of steps) {
if (step.style.opacity === "0.5") continue;