summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index 964c82c..7c963f1 100644
--- a/rules.ts
+++ b/rules.ts
@@ -4674,7 +4674,7 @@ function search_tax(result, start: Locale, lord: Lord, ships: boolean) {
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)
}
}