diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-12-10 17:35:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-12-10 17:35:46 +0100 |
commit | f7f10fb376e1019b2c49d6e1fac1b35031bf00b3 (patch) | |
tree | 671e8fd142f2bda0cd68ab00a3f88a90c24a92bc /rules.js | |
parent | 1e411905bf832ca8e59f3c1ade7f26952187d474 (diff) | |
download | maria-f7f10fb376e1019b2c49d6e1fac1b35031bf00b3.tar.gz |
Also clear undo when clearing checkpoint state.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |