diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-07 13:10:06 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 9525a86dad54268ddac78af3cf155cb97c7f4d88 (patch) | |
tree | 5f77f0873efdc117cc0d3e146d2ba3b2f6d590f5 | |
parent | f67bb4873562d9e8e6656b51e38de8f1c1ea52f0 (diff) | |
download | nevsky-9525a86dad54268ddac78af3cf155cb97c7f4d88.tar.gz |
Sack!
-rw-r--r-- | rules.js | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 === |