diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-01-15 16:58:40 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-15 16:58:40 +0100 |
commit | 4ea2ea881e307e2b6f0897f62eabed4deb939b0d (patch) | |
tree | 7585b464ac828a0ab8b51f221f98d5e29d0e24af | |
parent | 444d399b00583ff3cb70b423308d6fc0431c8621 (diff) | |
download | votes-for-women-4ea2ea881e307e2b6f0897f62eabed4deb939b0d.tar.gz |
Add undo step when clicking next in place on top/bottom of draw.
-rw-r--r-- | rules.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3224,6 +3224,7 @@ states.vm_place_any_on_top_of_draw = { game.vm.on_top.unshift(c) }, next() { + push_undo() if (game.vm.draw.length > 0) game.state = "vm_place_any_on_bottom_of_draw" else |