From 055d9e58f2a0624a8bd850414d0819eff4189079 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Mon, 9 Oct 2023 21:23:33 +0200 Subject: fix parley seaport --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index a1dc9dc..2248a4f 100644 --- a/rules.js +++ b/rules.js @@ -3505,7 +3505,7 @@ function search_parley(result, start) { queue.push(next) } } - if (ships > 0 && is_seaport(next)) { + if (ships > 0 && is_seaport(here)) { for (let next of find_ports(here)) { if (!search_seen[next]) { search_seen[next] = 1 -- cgit v1.2.3