diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-13 14:18:05 +0100 |
---|---|---|
committer | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-13 14:18:05 +0100 |
commit | d30bf33361648c024f3b05890a371896cc839f27 (patch) | |
tree | 3d829170520c871af75ee6bdb32b8d0bc97d082c /rules.js | |
parent | 5aca19ad110178ec0e49194447cfaec0f9107af0 (diff) | |
download | plantagenet-d30bf33361648c024f3b05890a371896cc839f27.tar.gz |
fix surprise landing
neither calais...or at sea
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |