summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-06 01:31:02 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:12:55 +0100
commitb13fe2a8ded8304c4f9590af5cb7db6269f07421 (patch)
tree83f9a27c5aab450dd1b0bb601a602e7da500258f
parent38fa36af32d179a5c8e12a20a07e41d65756a7d2 (diff)
downloadrichard-iii-b13fe2a8ded8304c4f9590af5cb7db6269f07421.tar.gz
richard: Fix bug when entering Lancastrian pretender.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 005f16b..bbc271f 100644
--- a/rules.js
+++ b/rules.js
@@ -643,7 +643,7 @@ function is_enemy_exile_area(where) {
}
function is_pretender_exile_area(where) {
- return (game.pretender === LANCASTER) ? is_lancaster_exile_area(where) : is_york_exile_area(where);
+ return (block_owner(game.pretender) === LANCASTER) ? is_lancaster_exile_area(where) : is_york_exile_area(where);
}
function can_recruit_to(who, to) {