summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-31 01:54:06 +0100
committerTor Andersson <tor@ccxvii.net>2024-10-31 01:54:06 +0100
commit69d7c215a3ec2961e089a37a2e89e3eb049cb9b3 (patch)
tree745febc22f39eec89db50baa89a51f67fa8ae348 /rules.js
parentd89c09e3471d584b2a814b2d419f45a9007ac520 (diff)
downloadred-flag-over-paris-69d7c215a3ec2961e089a37a2e89e3eb049cb9b3.tar.gz
add missing clear undo at censorship done.HEADmaster
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 458584d..bdba2c7 100644
--- a/rules.js
+++ b/rules.js
@@ -1089,6 +1089,7 @@ states.censorship_done = {
view.actions.done = 1
},
done() {
+ clear_undo()
game.active = enemy_player()
if (game.active === game.initiative)
goto_strategy_phase()