summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js27
1 files changed, 16 insertions, 11 deletions
diff --git a/rules.js b/rules.js
index 2dd77f5..91a5f84 100644
--- a/rules.js
+++ b/rules.js
@@ -1078,21 +1078,12 @@ states.support_check_prep = {
},
done() {
push_undo()
- // Check if in a Power Struggle after Crowd Turns Against Ceausescu
- if (game.is_pwr_struggle) {
- if (game.return !== game.active) {
- change_player()
- }
- log_h5('Raise the Stakes')
- log(`${game.active}:`)
- game.state = 'raise_stakes_1'
- return
- }
- reset_austria_hungary_border_reopened()
+ check_for_crowd()
game.state = 'resolve_opponent_event'
},
pass() {
push_undo()
+ check_for_crowd()
end_round()
}
}
@@ -3115,6 +3106,20 @@ function permanently_remove(card) {
}
}
+function check_for_crowd() {
+ // Check if in a Power Struggle after Crowd Turns Against Ceausescu
+ if (game.is_pwr_struggle) {
+ if (game.return !== game.active) {
+ change_player()
+ }
+ log_h5('Raise the Stakes')
+ log(`${game.active}:`)
+ game.state = 'raise_stakes_1'
+ return
+ }
+ reset_austria_hungary_border_reopened()
+}
+
function check_vp() {
if (game.vp >= 20) {
goto_game_over(DEM, `${DEM} won an Automatic Victory!`)