summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-02-13 14:18:05 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-02-13 14:18:05 +0100
commitd30bf33361648c024f3b05890a371896cc839f27 (patch)
tree3d829170520c871af75ee6bdb32b8d0bc97d082c /rules.js
parent5aca19ad110178ec0e49194447cfaec0f9107af0 (diff)
downloadplantagenet-d30bf33361648c024f3b05890a371896cc839f27.tar.gz
fix surprise landing
neither calais...or at sea
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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
}