summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-21 11:59:24 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-21 12:02:07 +0100
commitddc73285302cc5dd706f16ac903f3ec2baa550a3 (patch)
tree5951b2c94939c854ffecc5794871e92389381038
parent3337b26e7992526dcf4bb498b902630d09edc614 (diff)
downloadwilderness-war-ddc73285302cc5dd706f16ac903f3ec2baa550a3.tar.gz
Fix double pass and next buttons during battle events.
There should be "pass" only.
-rw-r--r--rules.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index a95a468..d6d01b9 100644
--- a/rules.js
+++ b/rules.js
@@ -4595,7 +4595,6 @@ states.attacker_events = {
if (have.length === 0 && dont_have.length === 0)
view.prompt += " You have no more response events."
gen_action_pass()
- gen_action_next() // XXX
},
play_event(c) {
push_undo()
@@ -4668,7 +4667,6 @@ states.defender_events = {
if (have.length === 0 && dont_have.length === 0)
view.prompt += " You have no more response events."
gen_action_pass()
- gen_action_next() // XXX
},
play_event(c) {
push_undo()