From 821da12f389b3d2f461a2513f7fd5cb669a7cbd7 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:58:19 +0100 Subject: Fix Cadre to/from France --- rules.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/rules.js b/rules.js index f28a9d7..21f5f9e 100644 --- a/rules.js +++ b/rules.js @@ -2923,7 +2923,6 @@ function goto_fln_deployment_phase() { function has_cadre_and_front_in_any_loc_in_algeria() { // each algerian area for (let loc = 3; loc < area_count; ++loc) - // TODO: not neutralized? must be UG? if (has_unit_type_in_loc(CADRE, loc) && has_unit_type_in_loc(FRONT, loc)) return true return false @@ -2994,9 +2993,7 @@ states.fln_deploy_cadre_to_france = { game.deploy_cadre_france = true set_unit_loc(u, FRANCE) - set_unit_box(u, UG) // TODO: UG in france? - - // add_unit_summary(game.summary, u) + set_unit_box(u, UG) game.state = "fln_deployment" }, @@ -3014,13 +3011,11 @@ states.fln_deploy_cadre_from_france = { let u = game.selected game.selected = [] - log(`U${u} from A${FRANCE} to ${to}.`) + log(`U${u} from A${FRANCE} to A${to}.`) game.deploy_cadre_france = true set_unit_loc(u, to) - set_unit_box(u, OPS) // to UG or OPS? - - // add_unit_summary(game.summary, u) + set_unit_box(u, UG) game.state = "fln_deployment" }, -- cgit v1.2.3