From de609d09613cbe4f938138249afc3b182337536b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 24 Mar 2022 19:20:26 +0100 Subject: Fix retroactive foul weather before lone leader retreat. --- rules.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules.js b/rules.js index 65f057f..ddf11bd 100644 --- a/rules.js +++ b/rules.js @@ -5461,6 +5461,8 @@ function goto_retreat_lone_leader(from, reason) { set_active_enemy(); game.state = 'retreat_lone_leader'; game.retreat = { from, reason }; + // Pause for foul weather if necessary + goto_retroactive_foul_weather(); } function pick_unbesieged_leader(s) { @@ -5525,6 +5527,7 @@ states.retreat_lone_leader = { function resume_retreat_lone_leader(from) { let who = pick_unbesieged_leader(from); if (!who) { + flush_summary(); set_active_enemy(); switch (game.retreat.reason) { case 'indian_alliance': -- cgit v1.2.3