summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-15 15:46:44 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-15 15:46:44 +0200
commit4f9209e78680190eedb70752c161c5d4d952b36c (patch)
treef9bddf9fd87000eddb288762cb912e8b84786710
parent7d0d20488cb8587d94b7869ae048001385ab8873 (diff)
downloadalgeria-4f9209e78680190eedb70752c161c5d4d952b36c.tar.gz
Front in Morocco/Tunisia shouldn't be able to convert to Cadre
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index dd7f88b..0bb78d1 100644
--- a/rules.js
+++ b/rules.js
@@ -2024,7 +2024,7 @@ states.fln_reinforcement = {
gen_action("build_cadre")
if (has_free_unit_by_type(BAND) && game.fln_ap >= build_cost(first_unit_loc))
gen_action("build_band")
- if (has_free_unit_by_type(CADRE))
+ if (has_free_unit_by_type(CADRE) && !is_area_morocco_or_tunisia(first_unit_loc))
gen_action("convert_front_to_cadre")
} else if (first_unit_type === CADRE) {