summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 6341afa..5ff4db0 100644
--- a/rules.js
+++ b/rules.js
@@ -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)