diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-27 17:18:19 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-27 17:18:19 +0200 |
commit | 04607640309c0f9bd3925053c9b17deeb3f39dfe (patch) | |
tree | 39f8b657ec186814b363bfd3d65e45a0d1fe673b | |
parent | bca84a7293c2573aa5a37228964728ffd74dc735 (diff) | |
download | algeria-04607640309c0f9bd3925053c9b17deeb3f39dfe.tar.gz |
remove unused code and comments
-rw-r--r-- | rules.js | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -1684,13 +1684,8 @@ states.random_event = { inactive: "to do random event", prompt() { view.prompt = "Roll for a random event." - // gen_action("reset") // XXX debug gen_action("roll") }, - reset() { - // XXX DEBUG - // goto_suez_crisis() - }, roll() { let rnd1 = roll_d6() let rnd2 = roll_d6() @@ -2685,13 +2680,8 @@ states.gov_deployment = { for (let u of list) { let loc = unit_loc(u) if (loc === to) { - if (unit_box(u) === PTL) { - log(`U${u} in A${loc}`) - set_unit_box(u, OPS) - } else { - log(`U${u} in A${loc} on PTL`) - set_unit_box(u, PTL) - } + log(`U${u} in A${loc} on PTL`) + set_unit_box(u, PTL) } else { log(`U${u} in A${loc}`) set_unit_loc(u, to) @@ -2777,7 +2767,6 @@ states.fln_deployment = { } } - // XXX confirmation when no units are activated? gen_action("end_deployment") }, unit(u) { |