v1.5.78 - river editor update

This commit is contained in:
Azgaar 2021-02-28 20:20:11 +03:00
parent 12fd553b0d
commit 41d03e8039
7 changed files with 160 additions and 143 deletions

View file

@ -534,7 +534,7 @@ function addRiverOnClick() {
r.length = length;
} else {
const parent = dataRiver[0].parent || 0;
const basin = Rivers.getBasin(river, parent);
const basin = Rivers.getBasin(river);
const source = dataRiver[0].cell;
const mouth = last(dataRiver).cell;
const name = Rivers.getName(mouth);