diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -404,14 +404,9 @@ exports.view = function(state, player) { } else if (player === COM) { view.hand = game.communist_hand - view.opp_hand = [...game.dem_pwr_hand].sort((a, b) => a - b) + if (game.opp_power_hand) {view.opp_power_hand = [...game.dem_pwr_hand].sort((a, b) => a - b) } view.power_hand = [...game.com_pwr_hand].sort((a, b) => a - b) } - if (game.view_opp_power_hand) { - if (player === COM) { - view.view_opp_power_hand = [...game.dem_pwr_hand].sort((a, b) => a - b) - } - } if (player === DEM) { view.samizdat = game.samizdat_card @@ -5069,7 +5064,7 @@ function vm_power_struggle() { //Check for Securitate if (game.pwr_struggle_in === 'Romania' && game.persistent_events.includes(C_SECURITATE)) { log(`C${C_SECURITATE}: Democrat reveals Power Struggle cards`) - game.view_opp_power_hand = true + game.opp_power_hand = game.dem_pwr_hand } log_h2('Deal Cards') game.state = 'draw_power_cards' |