diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -411,12 +411,10 @@ exports.view = function (state, player) { democrat_power_hand: game.dem_pwr_hand.length, communist_power_hand: game.com_pwr_hand.length, ceausescu_cards: game.ceausescu_cards, - is_pwr_struggle: game.is_pwr_struggle, times_held: game.times_held, revolutions: game.revolutions, hand: [], - pwr_hand: [], } if (game.is_pwr_struggle) { @@ -424,6 +422,9 @@ exports.view = function (state, player) { view.played_power_card = game.played_power_card view.power_card_1 = game.power_card_1 view.power_card_2 = game.power_card_2 + + if (player === DEM || player === COM) + view.is_pwr_struggle = true } view.strategy_discard = game.strategy_discard |