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 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))