From f1929fbafcddad02f83fc6dabf6e967d9101a08a Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 29 Nov 2024 23:27:21 +0000 Subject: Improve General Strike logging --- rules.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rules.js b/rules.js index 7bc1d0c..e48a480 100644 --- a/rules.js +++ b/rules.js @@ -486,7 +486,6 @@ exports.view = function (state, player) { // === ACTIONS =========== function gen_action(action, argument) { - console.log('gen_action called with', action) if (argument === undefined) { view.actions[action] = 1 } else { @@ -1905,7 +1904,6 @@ states.general_strike = { }, card(card) { push_undo() - game.played_card = card let find_card find_card = game.communist_hand.indexOf(card) game.communist_hand.splice(find_card, 1) @@ -3461,7 +3459,8 @@ function get_card_ops(card) { if ( game.state === 'choose_card' || game.state === 'stasi_play_card' || - game.state === 'vm_common_european_home_play' + game.state === 'vm_common_european_home_play' || + game.state === 'general_strike' ) { log('+1 op from Tiananmen Square Track') } -- cgit v1.2.3