summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-26 20:46:33 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitdc5affe3c0c0c80ffb342d2b2a15c9512e4604d4 (patch)
tree1cc6a05fef38c0c8d85845bcebf2aa4a8906cc6d
parent20b03547f13abb38c23d756306b69032efb4cd81 (diff)
downloadnevsky-dc5affe3c0c0c80ffb342d2b2a15c9512e4604d4.tar.gz
Fix Plow & Reap.
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
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) {