From 5a431ab673874228584089fc3e40b38c8b3c883c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 22 May 2024 12:20:36 +0200 Subject: add undo step for heralds action --- rules.js | 1 + rules.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/rules.js b/rules.js index 3678135..963f758 100644 --- a/rules.js +++ b/rules.js @@ -9651,6 +9651,7 @@ function can_action_heralds() { return false; } function goto_heralds() { + push_undo(); game.state = "heralds"; } states.heralds = { 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" } -- cgit v1.2.3