diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 3910c5fc..fb8172a2 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -80,7 +80,7 @@ function getRoadPoints(node) { return points; } -function getPathPoints(node, increment) { +function getRiverPoints(node) { let points = []; const l = node.getTotalLength() / 2; // half-length const increment = 0.25; // defines density of points