fix added river basin selection

This commit is contained in:
Azgaar 2021-07-24 19:05:17 +03:00
parent dbcf46f83b
commit 424980f5be
3 changed files with 10 additions and 10 deletions

View file

@ -259,7 +259,7 @@
};
// add points at 1/3 and 2/3 of a line between adjacents river cells
const addMeandering = function (riverCells, meandering = 0.5, riverPoints = null) {
const addMeandering = function (riverCells, riverPoints = null, meandering = 0.5) {
const {fl, conf, h} = pack.cells;
const meandered = [];
const lastStep = riverCells.length - 1;