summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-18 21:11:01 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:28 +0100
commitbc7b97cc2b19d329dd426a8d362c500febc01008 (patch)
tree09affbff47df9d81e5c9136a519ca7b9e425f2ed
parentd44633c3a08576fae32c078f6ee0fbef0cb626ee (diff)
downloadrommel-in-the-desert-bc7b97cc2b19d329dd426a8d362c500febc01008.tar.gz
Use correct port capacity during redeployment.
-rw-r--r--rules.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index d659421..3360238 100644
--- a/rules.js
+++ b/rules.js
@@ -5663,9 +5663,9 @@ function init_buildup() {
allied_cards: 0,
// remaining port capacity for sea redeployment
- bardia: 2,
- benghazi: 2,
- tobruk: 5,
+ bardia: is_fortress_axis_controlled(BARDIA) ? 1 : 2,
+ benghazi: is_fortress_axis_controlled(BENGHAZI) ? 1 : 2,
+ tobruk: is_fortress_axis_controlled(TOBRUK) ? 2 : 5,
// for undo tracking
changed: 0