summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/rules.js b/rules.js
index 9965730..2b541da 100644
--- a/rules.js
+++ b/rules.js
@@ -1092,10 +1092,9 @@ states.raise_stakes_1 = {
if (game.raised_stakes_discard === 0) {
gen_action('pass')
}
- }
-
- for (let card of game.valid_cards) {
+ for (let card of game.valid_cards) {
gen_action_card(card)
+ }
}
},
card(card) {
@@ -1137,10 +1136,9 @@ states.raise_stakes_2 = {
if (game.raised_stakes_discard === 0) {
gen_action('pass')
}
- }
-
- for (let card of game.valid_cards) {
- gen_action_card(card)
+ for (let card of game.valid_cards) {
+ gen_action_card(card)
+ }
}
},
card(card) {
@@ -1535,6 +1533,7 @@ states.choose_power = {
//Check if The Tyrant is Gone occurs
if (game.table_cards.includes(97) && game.pwr_struggle_in === 'Romania' && game.persistent_events['the_crowd_turns_against_ceausescu']) {
+ game.return_state = 'finish_scoring'
game.state = 'the_tyrant_is_gone'
} else {
game.state = 'finish_scoring'