From 476295272eaa5eac405f28cdd31799bf23d53506 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 23 Feb 2023 11:59:33 +0100 Subject: Allow undo across Command/Feed/Pay/Disband steps. This is possible now since they are all in one go. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index a345490..beaf533 100644 --- a/rules.js +++ b/rules.js @@ -4596,7 +4596,7 @@ states.command = { }, end_command() { - clear_undo() + push_undo() end_command() }, @@ -10057,6 +10057,7 @@ states.feed = { set_lord_unfed(lord, 0) }, end_feed() { + push_undo() end_feed() }, card: action_held_event, @@ -10098,7 +10099,6 @@ states.feed_lord_shared = { } function end_feed() { - clear_undo() goto_pay() } -- cgit v1.2.3