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 7c04f26..9a10d9b 100644
--- a/rules.js
+++ b/rules.js
@@ -2822,7 +2822,7 @@ states.levy_lord_at_seat = {
if (!found) {
for (let lord of all_friendly_lords()) {
let seat = get_lord_seat(lord);
- if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && is_friendly_locale(seat)) {
+ if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && (is_friendly_locale(seat) && !has_enemy_lord(seat))) {
if (is_move_allowed(game.who, seat))
gen_action_locale(seat);
}
diff --git a/rules.ts b/rules.ts
index 4ad0882..4e2f1b5 100644
--- a/rules.ts
+++ b/rules.ts
@@ -3466,7 +3466,7 @@ states.levy_lord_at_seat = {
if (!found) {
for (let lord of all_friendly_lords()) {
let seat = get_lord_seat(lord)
- if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && is_friendly_locale(seat)) {
+ if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && (is_friendly_locale(seat) && !has_enemy_lord(seat))) {
if (is_move_allowed(game.who, seat))
gen_action_locale(seat)
}