summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-08 18:47:29 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:40 +0100
commit990976293307ad261b7818b096d12f1b4746d8e7 (patch)
treeb1f56777ab891bf80421cd55d34331d0f0aeff79 /rules.js
parentf9688a1dfcdfd7dc4c061c8682942d2ea8a27dc8 (diff)
downloadnevsky-990976293307ad261b7818b096d12f1b4746d8e7.tar.gz
Only build Walls at friendly locale.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 6d64554..f965b42 100644
--- a/rules.js
+++ b/rules.js
@@ -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
}