From ac153b1ddac4462c8eb39d8f47b6e651d64198c1 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sat, 23 Feb 2019 13:47:45 +0300 Subject: [PATCH] Update script.js 175 fix2 --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 94cd33d7..5708c211 100644 --- a/script.js +++ b/script.js @@ -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)];