From 6ad390164945a6a570800c54a25219a29e305eda Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 6 Oct 2023 15:29:44 +0200 Subject: Simplify do_lord_waste(). --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 72d2d26..f3e8800 100644 --- a/rules.js +++ b/rules.js @@ -6852,7 +6852,9 @@ function do_waste() { } function do_lord_waste(lord) { - ;[ PROV, CART, SHIP ].forEach(a => remove_half(lord, a)) + remove_half(lord, PROV) + remove_half(lord, CART) + remove_half(lord, SHIP) set_lord_assets(lord, COIN, data.lords[lord].assets.coin) muster_lord_forces(lord) } -- cgit v1.2.3