From 5ec48086f75ce7b592cfcc43640301e65a737b99 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 19 Apr 2022 20:36:50 +0200 Subject: Don't allow withdrawing into enemy fortress under siege! --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 29b699e..539f2b4 100644 --- a/rules.js +++ b/rules.js @@ -3790,7 +3790,7 @@ function goto_designate_inside() { let where = moving_piece_space(); if (has_unbesieged_enemy_units_that_did_not_intercept(where)) { clear_undo(); - if (is_fortress(where) || has_enemy_fort(where)) { + if (has_enemy_fortress(where) || has_enemy_fort(where)) { set_active_enemy(); game.state = 'designate_inside'; if (game.summary) -- cgit v1.2.3