diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-27 18:19:21 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | e9132aea507194dfa7bbb1dd30f83aee0f9beb05 (patch) | |
tree | 7d5a6fead0a74c305029580f82b1d0f65fe24f48 | |
parent | f641fd09c50adbb9370d39defe5de9d4b6b28891 (diff) | |
download | julius-caesar-e9132aea507194dfa7bbb1dd30f83aee0f9beb05.tar.gz |
caesar: Only show "End navis to port" if no navis left at sea that can move.
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |