From d9b4d320428b96de7068557e06258567cf7ac4df Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Mon, 9 Oct 2023 21:26:55 +0200 Subject: fix tax seaport --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 2248a4f..dc0198b 100644 --- a/rules.js +++ b/rules.js @@ -4466,7 +4466,7 @@ function search_tax(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