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 348b364..0609746 100644
--- a/rules.ts
+++ b/rules.ts
@@ -3956,7 +3956,7 @@ function search_supply_by_way(result, start: Locale, carts: number, ships: numbe
}
if (is_friendly_locale(here)) {
- if (next_dist <= carts) {
+ if ((next_dist >> 3) <= carts) {
for (let next of data.locales[here].adjacent) {
if (!search_seen[next]) {
search_seen[next] = 1