summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-22 12:20:36 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-22 12:20:44 +0200
commit5a431ab673874228584089fc3e40b38c8b3c883c (patch)
treeab6bf7d6b268bb316a76a2536eda23f4089b697e /rules.ts
parentffc1be37ee91061c4557dcce054b6e6676375891 (diff)
downloadplantagenet-5a431ab673874228584089fc3e40b38c8b3c883c.tar.gz
add undo step for heralds action
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.ts b/rules.ts
index a6bf7e5..69d81ef 100644
--- a/rules.ts
+++ b/rules.ts
@@ -11200,6 +11200,7 @@ function can_action_heralds() {
}
function goto_heralds() {
+ push_undo()
game.state = "heralds"
}