diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1139,7 +1139,7 @@ states.the_crowd_turns_against_ceausescu_infl = { states.raise_stakes_1 = { inactive: 'raise the stakes.', prompt () { - if ((game.active === DEM && game.dem_pwr_hand < 3) || (game.active === COM && game.com_pwr_hand < 3)) { + if ((game.active === DEM && game.dem_pwr_hand.length < 3) || (game.active === COM && game.com_pwr_hand.length < 3)) { view.prompt = 'Raise the stakes: you must pass.' gen_action('pass') } @@ -1198,7 +1198,7 @@ states.raise_stakes_1 = { states.raise_stakes_2 = { inactive: 'raise the stakes.', prompt () { - if ((game.active === DEM && game.dem_pwr_hand < 3) || (game.active === COM && game.com_pwr_hand < 3)) { + if ((game.active === DEM && game.dem_pwr_hand.length < 3) || (game.active === COM && game.com_pwr_hand.length < 3)) { view.prompt = 'Raise the stakes: you must pass.' gen_action('pass') return |