diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-20 12:49:49 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-20 12:49:49 +0100 |
commit | 066db0195cb566066354eab404e9bf1e7a29e62d (patch) | |
tree | c0847ea9af855274c44b809d13f9372bd8c3454d | |
parent | 86e93857a33d555829a6d958a2728d206d7a326b (diff) | |
download | 1989-dawn-of-freedom-066db0195cb566066354eab404e9bf1e7a29e62d.tar.gz |
Fix for The Tyrant is Gone
-rw-r--r-- | rules.js | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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'
|