From 5c6876ac876a235f8684431e5e3b47464172a303 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 17 May 2024 20:28:30 +0200 Subject: reset king's name state after failed levy actions... so they don't carry over to the york player's turn! --- rules.js | 2 ++ rules.ts | 3 +++ 2 files changed, 5 insertions(+) diff --git a/rules.js b/rules.js index dede629..8ffefc2 100644 --- a/rules.js +++ b/rules.js @@ -2519,6 +2519,8 @@ states.muster = { }; function resume_muster_lord() { game.state = "muster_lord"; + // Reset The King's Name after failed levy actions + delete_state_for_the_kings_name(); // Pay for Levy action --game.actions; // Muster over unless there are more actions possible diff --git a/rules.ts b/rules.ts index 3e50f57..3f246a9 100644 --- a/rules.ts +++ b/rules.ts @@ -3116,6 +3116,9 @@ states.muster = { function resume_muster_lord() { game.state = "muster_lord" + // Reset The King's Name after failed levy actions + delete_state_for_the_kings_name() + // Pay for Levy action --game.actions -- cgit v1.2.3