From dc5affe3c0c0c80ffb342d2b2a15c9512e4604d4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 26 Dec 2022 20:46:33 +0100 Subject: Fix Plow & Reap. --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index d2eb53b..b9a8997 100644 --- a/rules.js +++ b/rules.js @@ -5741,6 +5741,7 @@ function flip_and_discard_half(lord, from_type, to_type) { states.plow_and_reap = { prompt() { let from_type, to_type + let turn = current_turn() if (turn === 2 || turn === 10) { view.prompt = "Plow and Reap: Flip Carts to Sleds and discard half." from_type = CART @@ -5762,7 +5763,7 @@ states.plow_and_reap = { } if (done) { view.prompt = "Plow and Reap: All done." - view.action.end_plow_and_reap = 1 + view.actions.end_plow_and_reap = 1 } }, cart(lord) { -- cgit v1.2.3