summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-03-29 11:01:46 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit90e5fad0e3ef12bf02ce61cf9164abccb2a19c58 (patch)
tree88076421fc66475adc89e0c492e94eaccf8e01f0
parent77d93ee3a14408eb2a0408eeb4f41df6b43f5178 (diff)
downloadshores-of-tripoli-90e5fad0e3ef12bf02ce61cf9164abccb2a19c58.tar.gz
Clear undo before firing dice in naval battle!
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 7266f3a..9817baf 100644
--- a/rules.js
+++ b/rules.js
@@ -1282,6 +1282,8 @@ states.naval_battle_tripolitan_card = {
}
function goto_naval_battle_round() {
+ clear_undo();
+
game.active = game.save_active;
game.round ++;