mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
fix: clear existing ice elements before redrawing in editHeightmap function
This commit is contained in:
parent
eb78b332a6
commit
9db2f708ec
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ function editHeightmap(options) {
|
|||
|
||||
// recalculate ice
|
||||
Ice.generate();
|
||||
drawIce();
|
||||
ice.selectAll("*").remove();
|
||||
|
||||
TIME && console.timeEnd("restoreRiskedData");
|
||||
INFO && console.groupEnd("Edit Heightmap");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue