summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-27 15:48:29 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-27 15:52:52 +0100
commitbb8e8e716e9045a3a134161f2cad33a019b9d98b (patch)
treec58cd1d15cb2fcae590045a503c3a7953cf1b786
parent908151b9be0a53fbbf4011aa193e52f717f065d4 (diff)
downloadplantagenet-bb8e8e716e9045a3a134161f2cad33a019b9d98b.tar.gz
Fix sail.locale -- resume_command should go with else branch
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 680d12a..f695203 100644
--- a/rules.js
+++ b/rules.js
@@ -7416,9 +7416,10 @@ states.sail = {
// you can go to unbesieged enemy lord with norfolk capability
if (has_unbesieged_enemy_lord(to))
goto_confirm_approach_sail()
- else
+ else {
game.flags.surprise_landing = 1
resume_command()
+ }
},
}