mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.6.23 - rivers remove fix
This commit is contained in:
parent
30b5a2564b
commit
845f2e99f5
2 changed files with 2 additions and 1 deletions
|
|
@ -256,6 +256,7 @@ function editRiver(id) {
|
|||
$(this).dialog("close");
|
||||
const river = +elSelected.attr("id").slice(5);
|
||||
Rivers.remove(river);
|
||||
elSelected.remove(); // keep if river if missed in pack.rivers
|
||||
$("#riverEditor").dialog("close");
|
||||
},
|
||||
Cancel: function() {$(this).dialog("close");}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue