From fe298c4c4c1f22fc0b302e9fa26164d73f00dfb7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 26 Mar 2023 12:54:52 +0200 Subject: Reset "ambush" after battle (so it doesn't affect battles after overrun). --- rules.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules.js b/rules.js index d6d01b9..575a055 100644 --- a/rules.js +++ b/rules.js @@ -5186,6 +5186,9 @@ function goto_determine_winner() { determine_winner_assault() else determine_winner_battle() + + // Reset battle event flags that may occur again (in case of overrun) + delete game.events.ambush } function determine_winner_battle() { -- cgit v1.2.3