From 036cf9cae2c5179caf7ea929113b3a1c599f9080 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sat, 14 Oct 2023 12:25:41 +0200 Subject: undo on select activate unit --- rules.js | 1 + 1 file changed, 1 insertion(+) 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) }) -- cgit v1.2.3