summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-15 12:09:47 +0200
committerTor Andersson <tor@ccxvii.net>2023-04-15 12:09:47 +0200
commiteb661ba821233b390614975631450c36b3b8a41e (patch)
tree0be904b1c2915543ecf7901746a48756e2a7c07a
parentf60e0514870fa6af46073671f1f9a02baf649e4a (diff)
downloadwilderness-war-eb661ba821233b390614975631450c36b3b8a41e.tar.gz
Next instead of pass for battle events.
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index a0aafd4..005e6e1 100644
--- a/rules.js
+++ b/rules.js
@@ -4647,7 +4647,7 @@ states.attacker_events = {
view.prompt += " You don't have " + dont_have.join(" or ") + "."
if (have.length === 0 && dont_have.length === 0)
view.prompt += " You have no more response events."
- gen_action_pass()
+ gen_action_next()
},
play_event(c) {
push_undo()
@@ -4719,7 +4719,7 @@ states.defender_events = {
view.prompt += " You don't have " + dont_have.join(" or ") + "."
if (have.length === 0 && dont_have.length === 0)
view.prompt += " You have no more response events."
- gen_action_pass()
+ gen_action_next()
},
play_event(c) {
push_undo()