From b446b7f31d0b6e965362369f85ac6c812b451c2d Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:54:10 +0100 Subject: F-fixed flee undo --- rules.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 0c29524..9bf401b 100644 --- a/rules.js +++ b/rules.js @@ -8993,6 +8993,7 @@ function find_lone_victor() { } function goto_battle_spoils() { + clear_undo() set_active_victor() // determine Battle Spoils calculate_spoils() @@ -9048,6 +9049,7 @@ states.battle_spoils = { } function goto_death_or_disband() { + clear_undo() remove_battle_capability_troops() if (has_defeated_lords()) { if (game.battle.loser === LANCASTER && lord_has_capability(LORD_RICHARD_III, AOW_YORK_BLOODY_THOU_ART) && get_lord_locale(LORD_RICHARD_III) === game.battle.where) { -- cgit v1.2.3