diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-01 13:51:10 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-01 13:51:26 +0100 |
commit | 94ed8076c2346d31161d156fee1d4f27f5ff0a3f (patch) | |
tree | e0f0f6e8baf9a14af97d23e620ce9173a2ea757f | |
parent | ac488293534d3861e2f7cdf125e0721e3c21af52 (diff) | |
download | algeria-94ed8076c2346d31161d156fee1d4f27f5ff0a3f.tar.gz |
fix quick setup undo bug
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1559,7 +1559,7 @@ states.scenario_setup = { if (current_player_quick_setup()) { // only allow quick-setup as the very first action - if (game.undo.length === 0) + if (game.undo && game.undo.length === 0) view.actions.quick_setup = 1 } } else { |