summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index e451346..68b373e 100644
--- a/rules.js
+++ b/rules.js
@@ -2890,9 +2890,8 @@ function can_add_troops_beloved_warwick(lord, here) {
lord_has_capability(lord, AOW_YORK_BELOVED_WARWICK));
}
function can_add_troops_irishmen(lord, here) {
- return (can_add_troops(here) &&
- lord_has_capability(lord, AOW_YORK_IRISHMEN) &&
- (here === LOC_IRELAND || is_adjacent_irish_sea(here)));
+ return ((here === LOC_IRELAND || (is_adjacent_irish_sea(here) && can_add_troops(here))) &&
+ lord_has_capability(lord, AOW_YORK_IRISHMEN));
}
function count_available_mercenaries() {
let n = 0;