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