summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-10-09 21:26:55 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitd9b4d320428b96de7068557e06258567cf7ac4df (patch)
tree8fe9af86760ee0c3bd6fece34a6a4217942bd4ce
parent055d9e58f2a0624a8bd850414d0819eff4189079 (diff)
downloadplantagenet-d9b4d320428b96de7068557e06258567cf7ac4df.tar.gz
fix tax seaport
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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