summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 12:25:41 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 12:25:41 +0200
commit036cf9cae2c5179caf7ea929113b3a1c599f9080 (patch)
treee76cf583954f15a6199a23300ebbf89388da46d9 /rules.js
parentfc6c5082dc5055f1cf897f168f23afbafbc8bbf2 (diff)
downloadalgeria-036cf9cae2c5179caf7ea929113b3a1c599f9080.tar.gz
undo on select activate unit
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 5c49af0..04dc7bc 100644
--- a/rules.js
+++ b/rules.js
@@ -1730,6 +1730,7 @@ states.gov_reinforcement = {
// log(`Paid ${cost} PSP`)
},
select_all_inactive() {
+ push_undo()
for_each_friendly_unit_on_map_box(OC, u => {
set_toggle(game.selected, u)
})