summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
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) {