mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
Update script.js
175 fix2
This commit is contained in:
parent
306a0628dc
commit
ac153b1dda
1 changed files with 1 additions and 1 deletions
|
|
@ -3166,7 +3166,7 @@ function fantasyMap() {
|
|||
let pathCells = [];
|
||||
for (let i = 0; i <= l; i ++) {
|
||||
const p = node.getPointAtLength(i);
|
||||
const cell = find(p.x, p.y);
|
||||
const cell = diagram.find(p.x, p.y);
|
||||
pathCells.push(cell);
|
||||
}
|
||||
const uniqueCells = [...new Set(pathCells)];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue