diff options
-rw-r--r-- | rules.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3742,6 +3742,7 @@ function end_round() { card_check = card_check.sort((a, b) => a - b) if (check_duplicates(card_check)) { const duplicates = find_duplicates(card_check) + console.log('game.strategy_deck',game.strategy_deck, 'game.strategy_discard',game.strategy_discard, 'game.strategy_removed', game.strategy_removed, 'game.persistent_events', game.persistent_events, 'game.communist_hand', game.communist_hand, 'game.democrat_hand', game.democrat_hand) throw new Error(`Duplicate cards detected: ${duplicates.join(', ')}`) } if (game.turn <= 3) { @@ -8235,6 +8236,8 @@ states.vm_tst_8 = { game.vm_event_to_do = false game.return_state = 'vm_tst_8' game.return = game.active + if (switch_events.includes(game.played_card)) + change_player() game.vm_event = game.played_card goto_vm(game.vm_event) }, |