From dad860b5cd90fa8e3d365864ef75ec17d19cc701 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 11 Dec 2023 16:05:19 +0100 Subject: Add more undo points when accepting die rolls. --- rules.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rules.js') diff --git a/rules.js b/rules.js index bfca47e..c938afd 100644 --- a/rules.js +++ b/rules.js @@ -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) { -- cgit v1.2.3