From dc71bfdbbcaa8f9ed27106e7d4711773f02612cf Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Thu, 31 Aug 2023 12:40:50 +0200 Subject: sail small bugfix --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 83593d6..1d13f3b 100644 --- a/rules.js +++ b/rules.js @@ -3637,7 +3637,7 @@ states.sail = { view.prompt = `Sailing with ${ships} Ships. Please discard ${overflow_cart} Cart` if (cart > 0) { for (let lord of game.group) { - if (get_lord_assets(lord, cart) > 0) + if (get_lord_assets(lord, cart) > 0); gen_action_cart(lord) } } @@ -3646,7 +3646,7 @@ states.sail = { view.prompt = `Sailing with ${ships} Ships. Please discard ${overflow_prov} Provender` if (prov > 0) { for (let lord of game.group) { - if (get_lord_assets(lord, prov) > 0) + if (get_lord_assets(lord, prov) > 0); gen_action_prov(lord) } } -- cgit v1.2.3