From 7c8d4887b6110657e7e1643fc0991944bbf2a4f3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 2 Dec 2023 18:35:43 +0100 Subject: Allow Undo for "Next" button after rolling. --- rules.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rules.js b/rules.js index 85335e2..551e54f 100644 --- a/rules.js +++ b/rules.js @@ -2760,6 +2760,7 @@ states.vm_roll = { game.vm.roll = roll_ndx(game.vm.count, game.vm.d, "Re-rolled") }, next() { + push_undo() vm_next() } } -- cgit v1.2.3