From 06fe4f59f3435e648bbbba0b96ca1752c26551fe Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Wed, 17 Jan 2024 10:55:58 +0100 Subject: Fuzzer fix aragne/death_or_disband --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 9a94558..67df0e8 100644 --- a/rules.js +++ b/rules.js @@ -2834,6 +2834,7 @@ states.yorkist_aragne = { function goto_aragne_save(other){ game.who = other + game.where = NOWHERE get_vassal_lord(other) init_influence_check(get_vassal_lord(other)) game.check.push({ @@ -5939,7 +5940,6 @@ states.intercept = { success = roll <= valour log(`Intercept ${success ? "Succeeded." : "Failed."} (${range(valour)}): ${success ? HIT[roll] : MISS[roll]}`) } - if (success) { goto_intercept_march() } else { @@ -9096,7 +9096,7 @@ states.death_or_disband = { } }, lord(lord) { - push_undo() + clear_undo() let here = get_lord_locale(lord) let threshold = 2 let modifier = 0 -- cgit v1.2.3