diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-12 15:06:29 +0100 |
---|---|---|
committer | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-12 15:06:29 +0100 |
commit | b77e42388da4a7e580170ddb380ff60a6e9a4ed6 (patch) | |
tree | fa46c185f058367ff77cace165275f2972d69efe /rules.js | |
parent | 8f1a93558e68b8dfa99c6a2470481090a6f6cba1 (diff) | |
download | plantagenet-b77e42388da4a7e580170ddb380ff60a6e9a4ed6.tar.gz |
fix bug when active lord exile before battle
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6610,7 +6610,7 @@ function goto_exiles() { let here = get_lord_locale(game.command) if (has_enemy_lord(here)) { spend_all_actions() // end command upon any approach - + game.where = here game.state = "exiles" set_active_enemy() } else { @@ -7869,7 +7869,7 @@ function start_battle() { log_h3(`Battle at %${here}`) - init_battle(here, 0, 0) + init_battle(game.where, 0, 0) // Troops by capability @@ -9891,7 +9891,7 @@ function goto_battle_aftermath() { // Recovery spend_all_actions() - + game.where = NOWHERE game.battle = 0 game.flags.bloody = 0 end_march() |