diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-09-10 21:28:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-09-10 21:28:16 +0200 |
commit | 093913ec08a5e35e019de46e0471e6d647a5f8ce (patch) | |
tree | 62ec4a0af00398bdecf69c9098f383a7c09e3a9a | |
parent | 3e201b997a8f5f6957c57a2af3db8a206e653b26 (diff) | |
download | wilderness-war-093913ec08a5e35e019de46e0471e6d647a5f8ce.tar.gz |
Fix for "Surrender!" with only a leader inside the fortress.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5991,7 +5991,7 @@ function goto_surrender() { function goto_surrender_place() { set_active_enemy() - if (has_friendly_units(game.siege_where)) { + if (has_friendly_pieces(game.siege_where)) { game.state = 'surrender' if (game.siege_where === LOUISBOURG) { game.surrender = find_closest_friendly_unbesieged_fortification(QUEBEC) |