summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-20 06:22:26 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-20 06:22:26 +0200
commit4132cd891b9bc3d30eb45c7204412184048c6644 (patch)
treeb9a3061d0e399201c49c7ca5a0343f893ff1caf1
parent79a8e7ff2b1ca89bd681cad6f938740c100ad0af (diff)
downloadalgeria-4132cd891b9bc3d30eb45c7204412184048c6644.tar.gz
reinforcement: Cadre in France shouldnt convert
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 8dec833..dd5a9bd 100644
--- a/rules.js
+++ b/rules.js
@@ -2433,7 +2433,7 @@ states.fln_reinforcement = {
// Cadre can be converted to Front or Band
for_each_friendly_unit_on_map_of_type(CADRE, u => {
- if (is_unit_not_neutralized(u))
+ if (is_unit_not_neutralized(u) && !is_area_france(unit_loc(u)))
gen_action_unit(u)
})