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 1cb8a64..64c2a23 100644
--- a/rules.js
+++ b/rules.js
@@ -3865,7 +3865,7 @@ function search_tax(result, start, lord, ships) {
for (let next of find_ports(here, lord)) {
if (!search_seen[next]) {
search_seen[next] = 1;
- search_dist[next] = next_dist;
+ search_dist[next] = next_dist | find_sea_mask(here) | find_sea_mask(next);
queue.push(next);
}
}