summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
-rw-r--r--rules.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 0f6a879..cf060b2 100644
--- a/rules.js
+++ b/rules.js
@@ -3094,7 +3094,7 @@ function goto_command() {
game.actions += 1;
}
}
- if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here)) {
+ if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here) && is_friendly_locale(here)) {
logcap(AOW_YORK_THOMAS_BOURCHIER);
game.actions += 1;
}
diff --git a/rules.ts b/rules.ts
index 62ed47d..7ea5168 100644
--- a/rules.ts
+++ b/rules.ts
@@ -3784,7 +3784,7 @@ function goto_command() {
game.actions += 1
}
}
- if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here)) {
+ if (lord_has_capability(game.command, AOW_YORK_THOMAS_BOURCHIER) && is_city(here) && is_friendly_locale(here)) {
logcap(AOW_YORK_THOMAS_BOURCHIER)
game.actions += 1
}