v1.6.23 - rivers remove fix

This commit is contained in:
Azgaar 2021-03-10 22:28:57 +03:00
parent 30b5a2564b
commit 845f2e99f5
2 changed files with 2 additions and 1 deletions

View file

@ -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");}