diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-01 18:08:53 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-01 18:08:53 +0100 |
commit | 3355552cf7fbd044afb6f4832b255cb77bb2946d (patch) | |
tree | fce600db9589fcd3f5f47beaa8f15c323cdcc953 | |
parent | 0a35b1d9ad0b5791c1123944492df07dabc6b876 (diff) | |
download | algeria-3355552cf7fbd044afb6f4832b255cb77bb2946d.tar.gz |
fix undo
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |