summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-03 15:39:10 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:27 +0100
commit3ee705d44d5862aeb950c572a51c7004a3259ad8 (patch)
tree6e19277b40b58410d0d0abb917c4b18a822bf45f /rules.js
parent0d65afd2c1b76cf2be31c868f5e6791e864e747b (diff)
downloadrommel-in-the-desert-3ee705d44d5862aeb950c572a51c7004a3259ad8.tar.gz
Pass not Next.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 303c5ce..f8ccf2c 100644
--- a/rules.js
+++ b/rules.js
@@ -6004,7 +6004,7 @@ states.allied_player_initiative = {
gen_action('real_card')
if (hand[DUMMY] > 0)
gen_action('dummy_card')
- gen_action_next()
+ gen_action('pass')
},
real_card() {
log(`Allied challenged for the initiative.`)
@@ -6019,7 +6019,7 @@ states.allied_player_initiative = {
set_active_player()
game.state = 'axis_player_initiative'
},
- next() {
+ pass() {
goto_player_turn()
}
}
@@ -6031,7 +6031,7 @@ states.axis_player_initiative = {
let hand = player_hand()
if (hand[REAL] > 0)
gen_action('real_card')
- gen_action_next()
+ gen_action('pass')
},
real_card() {
player_hand()[0]--
@@ -6043,7 +6043,7 @@ states.axis_player_initiative = {
game.phasing = AXIS
goto_player_turn()
},
- next() {
+ pass() {
if (game.phasing === ALLIED)
log("Allied siezed the initiative.")
else