summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-02-22 23:43:53 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-02-22 23:44:09 +0000
commit397a492b8f9cd2b8381b0adf537e9e2ddef2466e (patch)
tree1b2455768967f3965fe1ffd7e0ceb451be52c60d /rules.js
parent4abb7acfeda6bb2b804280b04c676bab6039120f (diff)
download1989-dawn-of-freedom-397a492b8f9cd2b8381b0adf537e9e2ddef2466e.tar.gz
Fix Crowd not going to raise stakes
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index a9f07ea..f86c933 100644
--- a/rules.js
+++ b/rules.js
@@ -1078,12 +1078,14 @@ states.support_check_prep = {
},
done() {
push_undo()
- check_for_crowd()
+ if (check_for_crowd())
+ return
game.state = 'resolve_opponent_event'
},
pass() {
push_undo()
- check_for_crowd()
+ if (check_for_crowd())
+ return
end_round()
}
}
@@ -3115,7 +3117,7 @@ function check_for_crowd() {
log_h5('Raise the Stakes')
log(`${game.active}:`)
game.state = 'raise_stakes_1'
- return
+ return true
}
reset_austria_hungary_border_reopened()
}