From 6054551fc2da4701bdc4d6d92e8106ffb91f4e6d Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Wed, 29 Jan 2025 11:32:04 +0100 Subject: fix supply with overland route --- rules.js | 2 +- rules.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index e2fbb0b..a54a52c 100644 --- a/rules.js +++ b/rules.js @@ -3556,7 +3556,7 @@ states.select_supply_type = { }, port() { // blockade at source or destination - if (can_naval_blockade(get_lord_locale(game.command)) || can_naval_blockade(game.where)) { + if (can_naval_blockade(game.where) || (is_exile_box(get_lord_locale(game.command)) && can_naval_blockade_route(get_lord_locale(game.command)))) { game.state = "blockade_supply"; } else { diff --git a/rules.ts b/rules.ts index 6d122d3..3987d3f 100644 --- a/rules.ts +++ b/rules.ts @@ -4324,7 +4324,7 @@ states.select_supply_type = { }, port() { // blockade at source or destination - if (can_naval_blockade(get_lord_locale(game.command)) || can_naval_blockade(game.where)) { + if (can_naval_blockade(game.where) || (is_exile_box(get_lord_locale(game.command)) && can_naval_blockade_route(get_lord_locale(game.command)))) { game.state = "blockade_supply" } else { use_port_supply(game.where, get_port_supply_amount(game.where, true)) -- cgit v1.2.3