summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-08-31 12:40:50 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitdc71bfdbbcaa8f9ed27106e7d4711773f02612cf (patch)
treeafba8709e2763e5570e547d739d7898d49f69904
parentff8750d59b8e1dd791c71c3ea77002f1e0488cf5 (diff)
downloadplantagenet-dc71bfdbbcaa8f9ed27106e7d4711773f02612cf.tar.gz
sail small bugfix
-rw-r--r--rules.js4
1 files 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)
}
}