summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index c1ae2c8..54e8aab 100644
--- a/rules.js
+++ b/rules.js
@@ -5082,7 +5082,8 @@ states.gov_coup_attempt_select_units = {
gen_action("done")
}
- view.actions.undo = 1
+ if (game.selected.length > 0)
+ view.actions.undo = 1
},
undo() {
if (game.selected.length > 0)