From e9132aea507194dfa7bbb1dd30f83aee0f9beb05 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 27 May 2021 18:19:21 +0200 Subject: caesar: Only show "End navis to port" if no navis left at sea that can move. --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 24c609c..4166da8 100644 --- a/rules.js +++ b/rules.js @@ -2118,7 +2118,8 @@ states.navis_to_port = { } if (count > 0) view.prompt += " " + count + " left."; - gen_action_pass(view, "End navis to port"); + if (count == 0) + gen_action_pass(view, "End navis to port"); gen_action_undo(view); }, block: function (who) { -- cgit v1.2.3