diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-02-19 19:22:49 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | f92474517f34250f6fd81ce2beefd0ae80a39ab5 (patch) | |
tree | 5c46ea1ba6e81b6b9dc05165f186f819c01d43c8 | |
parent | 5827796cad5ac1cae00dad04cab06292dd9b5ed9 (diff) | |
download | wilderness-war-f92474517f34250f6fd81ce2beefd0ae80a39ab5.tar.gz |
fixup Surrender
-rw-r--r-- | rules.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5050,7 +5050,10 @@ states.massacre_after_surrender = { function goto_surrender_place() { set_active(enemy()); game.state = 'surrender'; - game.surrender = find_closest_friendly_unbesieged_fortification(game.siege_where); + if (game.siege_where === LOUISBOURG) + game.surrender = find_closest_friendly_unbesieged_fortification(QUEBEC); + else + game.surrender = find_closest_friendly_unbesieged_fortification(game.siege_where); } states.surrender = { |