From bb8e8e716e9045a3a134161f2cad33a019b9d98b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 27 Jan 2024 15:48:29 +0100 Subject: Fix sail.locale -- resume_command should go with else branch --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() + } }, } -- cgit v1.2.3