From d30bf33361648c024f3b05890a371896cc839f27 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:18:05 +0100 Subject: fix surprise landing neither calais...or at sea --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b143c23..d44bf53 100644 --- a/rules.js +++ b/rules.js @@ -4153,7 +4153,7 @@ function can_play_rebel_supply_depot() { function can_play_surprise_landing() { let here = get_lord_locale(game.command) - if (game.flags.surprise_landing === 0 || !is_seaport(here) || here === LOC_CALAIS) + if (game.flags.surprise_landing === 0 || !is_seaport(here) || here === LOC_CALAIS || is_sea(here)) return false return true } -- cgit v1.2.3