summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index be48715..672da09 100644
--- a/rules.ts
+++ b/rules.ts
@@ -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 }));