diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-05-12 16:04:29 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-12 16:04:29 +0200 |
commit | 6405fcf0264c1f2abe416b13f8b67472afdcbcbe (patch) | |
tree | 8b165c66384d4a6e3116b1a15657dd29344c86ea | |
parent | 5c5dc6458d6e736c233af88628d06f60350bfbd0 (diff) | |
download | wilderness-war-6405fcf0264c1f2abe416b13f8b67472afdcbcbe.tar.gz |
Don't allow raiding enemy Forts and Fortresses!
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1600,9 +1600,9 @@ function force_has_only_auxiliary_units(who) { } function is_raid_space(s) { - if (has_friendly_fort(s)) + if (has_friendly_fort(s) || has_enemy_fort(s)) return false - if (has_friendly_fortress(s)) + if (has_friendly_fortress(s) || has_enemy_fortress(s)) return false if (has_friendly_stockade(s)) return false |