summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-09 12:58:19 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-09 12:58:19 +0100
commit821da12f389b3d2f461a2513f7fd5cb669a7cbd7 (patch)
tree937cca68a8bab740191902f17cf03852a51c7b0a
parentaca8e3479a49b5b34f345ff5bb15c7e267bd8e70 (diff)
downloadalgeria-821da12f389b3d2f461a2513f7fd5cb669a7cbd7.tar.gz
Fix Cadre to/from France
-rw-r--r--rules.js11
1 files 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"
},