summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-21 20:25:56 +0100
committerTor Andersson <tor@ccxvii.net>2023-01-21 20:25:56 +0100
commit534feca2fcbbea485d8bbe9b666da967bdebb4c0 (patch)
tree387bec99b66cbdd2ee4e138b937ee9e6f70e19aa /rules.js
parentc1050b3e55e9143950e4f0d5968f8b979881cfe4 (diff)
downloadhammer-of-the-scots-534feca2fcbbea485d8bbe9b666da967bdebb4c0.tar.gz
Make Victuals optional.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 1e97949..95ab6a0 100644
--- a/rules.js
+++ b/rules.js
@@ -1218,12 +1218,11 @@ states.victuals = {
}
}
}
- if (done) {
+ if (done)
view.prompt = "Victuals: Distribute three steps among friendly blocks in one group \u2014 done."
- gen_action(view, 'end_builds')
- } else {
+ else
view.prompt = "Victuals: Distribute three steps among friendly blocks in one group."
- }
+ gen_action(view, 'end_builds')
},
block: function (who) {
push_undo()