summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-03-27 01:37:50 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commitf5edabe4d49af72f5dba5867686451e52dafe492 (patch)
tree94901964d2f9120df5e9bf74392124869b3a54f1
parent0be772a35c66ee35527da0c5667a6c6acf0e8e5c (diff)
downloadwilderness-war-f5edabe4d49af72f5dba5867686451e52dafe492.tar.gz
Fix amphib supply (it's always a source).
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 49e26d1..8d4cab0 100644
--- a/rules.js
+++ b/rules.js
@@ -1976,7 +1976,7 @@ function search_supply_spaces() {
} else {
let list = originally_british_fortresses_and_all_ports.filter(is_friendly_controlled_space);
for (let s of game.amphib)
- if (!list.includes(s) && is_space_unbesieged(s))
+ if (!list.includes(s))
list.push(s);
supply_cache = search_supply_spaces_imp(list);
}