From f7f10fb376e1019b2c49d6e1fac1b35031bf00b3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 10 Dec 2024 17:35:46 +0100 Subject: Also clear undo when clearing checkpoint state. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 2cebacf..ca03f0e 100644 --- a/rules.js +++ b/rules.js @@ -4935,7 +4935,6 @@ states.political_card_done = { view.actions.end_political_card = 1 }, end_political_card() { - push_undo() end_execute_political_card() }, } @@ -7570,6 +7569,7 @@ function restore_checkpoint() { } function clear_checkpoint() { + clear_undo() delete game.restart } -- cgit v1.2.3