From 7e9171f026e07ea7730889fb239abf3a041047c4 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:43:28 +0100 Subject: fix L33 surprise landing in calais it's stupid to use it there but still removing the possibility of playing --- rules.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 246958b..ae5dd96 100644 --- a/rules.js +++ b/rules.js @@ -4153,10 +4153,9 @@ function can_play_rebel_supply_depot() { } function can_play_surprise_landing() { - if (game.flags.surprise_landing === 1 && is_seaport(get_lord_locale(game.command))) { - return true - } - return false + if (game.flags.surprise_landing === 0 || !is_seaport(get_lord_locale(game.command)) || data.locales[get_lord_locale(game.command)].type === "calais") + return false + return true } function can_play_yorkist_parade() { -- cgit v1.2.3