summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-27 13:38:24 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-27 13:38:24 +0200
commit4d791e844edf7ab45aa1eec949a18086c61ff6f9 (patch)
treeefc8a7b3e6db22f52a8c7e0e27ce0f0cfd437bab
parent292ccdcd93b1ec6f56dd2c238858627ec777b7af (diff)
downloadplantagenet-4d791e844edf7ab45aa1eec949a18086c61ff6f9.tar.gz
Haywains shouldn't double the number of carts when Sailing.
-rw-r--r--rules.js2
-rw-r--r--rules.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 623f4ad..9f14902 100644
--- a/rules.js
+++ b/rules.js
@@ -3632,7 +3632,7 @@ states.sail = {
view.group = game.group;
let here = get_lord_locale(game.command);
let ships = count_group_ships(game.group, true);
- let cart = count_group_carts(game.group, true);
+ let cart = count_group_carts(game.group, false);
let prov = count_group_provender(game.group);
let overflow_prov = (prov / 2 - ships) * 2;
let overflow_cart = (cart / 2 - ships) * 2;
diff --git a/rules.ts b/rules.ts
index 267b3cb..311425b 100644
--- a/rules.ts
+++ b/rules.ts
@@ -4414,7 +4414,7 @@ states.sail = {
let here = get_lord_locale(game.command)
let ships = count_group_ships(game.group, true)
- let cart = count_group_carts(game.group, true)
+ let cart = count_group_carts(game.group, false)
let prov = count_group_provender(game.group)
let overflow_prov = (prov / 2 - ships) * 2