From 644292ba59a7338b22ee6bb11552178c79aadc84 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Thu, 26 Oct 2023 20:45:54 +0200 Subject: fix neutralized algerian units activating automatically --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rules.js') 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) { -- cgit v1.2.3