diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -163,11 +163,12 @@ function setup_player_turn(faction_id) { next(); } else { - const next_next_faction = get_next_faction_in_player_order(next_faction); - if (game.selected_cards[next_next_faction].length > 0) - setup_player_turn(get_next_faction_in_player_order(next_next_faction)); - else - throw new Error("impossible situation"); + log_header("Skipped Turn", next_faction); + log("No cards in hand."); + game.engine = [ + create_function_node('end_of_player_turn', { f: next_faction }) + ]; + next(); } } function check_end_of_year_discard() { |