diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-02-08 18:47:29 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:40 +0100 |
commit | 990976293307ad261b7818b096d12f1b4746d8e7 (patch) | |
tree | b1f56777ab891bf80421cd55d34331d0f0aeff79 /rules.js | |
parent | f9688a1dfcdfd7dc4c061c8682942d2ea8a27dc8 (diff) | |
download | nevsky-990976293307ad261b7818b096d12f1b4746d8e7.tar.gz |
Only build Walls at friendly locale.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6652,7 +6652,7 @@ function can_action_stone_kremlin() { let here = get_lord_locale(game.command) if (is_fort(here) || is_city(here) || here === LOC_NOVGOROD) { - if (has_walls(here)) + if (has_walls(here) || !is_friendly_locale(here)) return false return true } |