From 3d1cd8b9569b3257938deccd64f931fc61fbde7a Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:46:29 +0100 Subject: fix for levying lord where another lord already is --- rules.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.ts') 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) } -- cgit v1.2.3