summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-14 23:58:59 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:39 +0100
commit710d4f49e3a72e24bfefbaf404762c5649c1e9a4 (patch)
tree043b0eec9fff8f376d1643d72e7395004f352a68
parent1358a6e20963b36e8a82d856e30b358e527884ba (diff)
downloadcrusader-rex-710d4f49e3a72e24bfefbaf404762c5649c1e9a4.tar.gz
crusader: Fix undo bug after Saracen deployment.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 4748365..16b6078 100644
--- a/rules.js
+++ b/rules.js
@@ -1056,6 +1056,7 @@ states.saracen_deployment = {
game.who = null;
},
next: function () {
+ clear_undo();
game.who = null;
start_year();
},