summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-26 20:45:54 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-26 20:45:54 +0200
commit644292ba59a7338b22ee6bb11552178c79aadc84 (patch)
treeb15794a95a257d7cd9085040e6d103cbc8ff894a
parentc4090471a719c03140a28ff223822422959be2cd (diff)
downloadalgeria-644292ba59a7338b22ee6bb11552178c79aadc84.tar.gz
fix neutralized algerian units activating automatically
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 120b0cc..915d48f 100644
--- a/rules.js
+++ b/rules.js
@@ -2084,7 +2084,8 @@ function goto_gov_reinforcement_phase() {
// Algerian units activate for free
for_each_friendly_unit_on_map_of_type(AL_X, u => {
- set_unit_box(u, OPS)
+ if (is_unit_not_neutralized(u))
+ set_unit_box(u, OPS)
})
if (is_slow_french_reaction() && game.fln_psl > game.gov_psl) {