diff options
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1280,7 +1280,13 @@ states.play_card = { game.card_played = 0; // NOTE: I don't think we are using game.played_card in the UI at the moment? game.played_card = game.selected_cards[faction][game.selected_cards[faction].length - 1]; - log_header("C" + game.played_card, faction); + + const args = get_active_node_args(); + if (args && args.src === 'momentum') { + log_header("~ Momentum ~\nC" + game.played_card, faction); + } else { + log_header("~ Play Card ~\nC" + game.played_card, faction); + } insert_after_active_node(create_state_node('player_turn', faction, { src: get_active_node_args().src })); |