diff --git a/modules/routes-generator.js b/modules/routes-generator.js index 627a41ce..bc4b8224 100644 --- a/modules/routes-generator.js +++ b/modules/routes-generator.js @@ -94,7 +94,7 @@ window.Routes = (function () { } const [from, exit, passable] = findOceanPath(ports[a].cell, ports[b].cell); if (!passable) return null; - formed[[a, b]] = true; formed[[b, a]] + formed[[a, b]] = true; formed[[b, a]] = true; const path = restorePath(ports[a].cell, exit, "ocean", from); return path; }