From 9525a86dad54268ddac78af3cf155cb97c7f4d88 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 7 Jan 2023 13:10:06 +0100 Subject: Sack! --- rules.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rules.js b/rules.js index 487da28..572e8de 100644 --- a/rules.js +++ b/rules.js @@ -8089,10 +8089,10 @@ function goto_sack() { else if (is_castle(here)) award_spoils(1) - goto_sack() + resume_sack() } -function goto_sack() { +function resume_sack() { if (has_friendly_lord(game.battle.where)) game.state = "sack" else @@ -8114,11 +8114,12 @@ states.sack = { goto_ransom(lord) else disband_lord(lord, true) + resume_sack() }, } function end_ransom_sack() { - goto_sack() + resume_sack() } // === ENDING THE BATTLE: WITHDRAW === -- cgit v1.2.3