diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-21 13:04:03 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-21 13:04:03 +0000 |
commit | 7fca67b976e84313e894e0c685f49230891db0d4 (patch) | |
tree | 81d737bcb5a39c222b682836979cab9b14dbe557 /rules.js | |
parent | 7f6752369cbe51c53fe165650888db0a5d10605d (diff) | |
download | 1989-dawn-of-freedom-7fca67b976e84313e894e0c685f49230891db0d4.tar.gz |
Tweak Raise the Stakes prompts
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 |