summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 279d191..4d5fb23 100644
--- a/rules.js
+++ b/rules.js
@@ -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