From 3ee705d44d5862aeb950c572a51c7004a3259ad8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 3 Sep 2022 15:39:10 +0200 Subject: Pass not Next. --- rules.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rules.js') 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 -- cgit v1.2.3