summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 4e78cd5..654ec9d 100644
--- a/rules.js
+++ b/rules.js
@@ -2868,17 +2868,20 @@ function save_withdrawal_supply_lines() {
let net = game.withdraw.supply_net = friendly_supply_network().slice()
game.withdraw.supply_line = friendly_supply_line().slice()
- if (!net[BARDIA] && is_fortress_friendly_controlled(BARDIA)) {
+ // Units assigned fortress supply MUST withdraw using fortress supply lines,
+ // even if they are currently in the base supply network.
+
+ if (is_fortress_friendly_controlled(BARDIA)) {
game.withdraw.bardia_net = bardia_supply_network().slice()
game.withdraw.bardia_line = bardia_supply_line().slice()
}
- if (!net[BENGHAZI] && is_fortress_friendly_controlled(BENGHAZI)) {
+ if (is_fortress_friendly_controlled(BENGHAZI)) {
game.withdraw.benghazi_net = benghazi_supply_network().slice()
game.withdraw.benghazi_line = benghazi_supply_line().slice()
}
- if (!net[TOBRUK] && is_fortress_friendly_controlled(TOBRUK)) {
+ if (is_fortress_friendly_controlled(TOBRUK)) {
game.withdraw.tobruk_net = tobruk_supply_network().slice()
game.withdraw.tobruk_line = tobruk_supply_line().slice()
}