diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-04-19 20:36:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | 5ec48086f75ce7b592cfcc43640301e65a737b99 (patch) | |
tree | 17528545b61c7ebd0b81e6b66cc018e36e6d1042 /rules.js | |
parent | 4d88476e54e9622622a7aee17bd9fa68ca58cef1 (diff) | |
download | wilderness-war-5ec48086f75ce7b592cfcc43640301e65a737b99.tar.gz |
Don't allow withdrawing into enemy fortress under siege!
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |