diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-03 19:49:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-03 19:49:17 +0200 |
commit | 26d3869046718fe8f2ee99336ebc00a5a7d037b7 (patch) | |
tree | 5f0795814f54054270f9b2acc94dc597aa2ee302 /rules.ts | |
parent | ec9ea06c5850ce5275b1f3e15a29c2b9ea872106 (diff) | |
download | plantagenet-26d3869046718fe8f2ee99336ebc00a5a7d037b7.tar.gz |
fix scaling of distance vs carts
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |