summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-29 13:39:18 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-29 13:39:18 +0200
commitb97c266b0fee948846814965e83bda1cfbe50694 (patch)
tree4c881b07b4f62c69f5f34b94f6ddb1393ca5d794
parent0f6ac5aac4c2bd7eca7ebcf35881237a304057a9 (diff)
downloadred-flag-over-paris-b97c266b0fee948846814965e83bda1cfbe50694.tar.gz
Clear undo after momentum trigger.
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index a5efb21..998ac09 100644
--- a/rules.js
+++ b/rules.js
@@ -1407,6 +1407,7 @@ states.increase_revolutionary_momentum_trigger_done = {
view.actions.done = 1
},
done() {
+ clear_undo()
end_increase_momentum()
},
}
@@ -1438,6 +1439,7 @@ states.increase_prussian_collaboration_trigger_done = {
view.actions.done = 1
},
done() {
+ clear_undo()
end_increase_momentum()
},
}