diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-11 16:05:19 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-11 20:26:34 +0100 |
commit | dad860b5cd90fa8e3d365864ef75ec17d19cc701 (patch) | |
tree | b8a3246e5f9219a99aeb35d9a5046c54451890cf /rules.js | |
parent | c11c5d79fb029614210b905569f9602d20ae3c86 (diff) | |
download | votes-for-women-dad860b5cd90fa8e3d365864ef75ec17d19cc701.tar.gz |
Add more undo points when accepting die rolls.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1570,6 +1570,7 @@ states.campaigning = { game.roll = roll_ndx_list(game.count, game.dice, "Re-rolled") }, accept() { + push_undo() goto_campaigning_assign() } } @@ -1860,6 +1861,7 @@ states.lobbying = { game.roll = roll_ndx_count_success(game.count, game.dice, "Re-rolled") }, accept() { + push_undo() if (game.roll > 0) { game.count = game.roll if (game.active === SUF) { |