diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-26 20:54:11 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-26 20:54:11 +0200 |
commit | ca774de781f5573950ad900990dcb14a4dc1015f (patch) | |
tree | d967d0f35a8b15848fca03df322a223535e49812 | |
parent | cf98c24a0633fddd953dc278087bc58132d8e554 (diff) | |
download | algeria-ca774de781f5573950ad900990dcb14a4dc1015f.tar.gz |
undo whole airmobilize submenu as a whole
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4020,6 +4020,8 @@ states.gov_flush_select_units = { function goto_gov_airmobilize() { game.selected = [] + push_undo() + game.from_state = game.state game.state = "gov_airmobilize_select_units" } @@ -4051,7 +4053,6 @@ states.gov_airmobilize_select_units = { gen_action("done") }, unit(u) { - push_undo() set_toggle(game.selected, u) // preview selection to see backside of counter if (set_has(game.selected, u)) { @@ -4064,7 +4065,6 @@ states.gov_airmobilize_select_units = { let list = game.selected game.selected = [] - push_undo() let cost = airmobilize_cost(list) game.helo_avail -= cost log(`Airmobilized (using ${cost} Helo PTS):`) |