summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-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