diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -627,8 +627,10 @@ states.play_card ={ game.return = game.active game.vm_event = game.played_card if (is_auto_resolve(game.played_card) || switch_events.includes(game.played_card)) { + console.log('resolved automatically') goto_vm(game.vm_event)} else { + console.log('resolved normally') next_player() log(`C${game.vm_event}`) goto_vm(game.vm_event) @@ -2972,7 +2974,7 @@ function is_auto_resolve(card) { return true } } - else if (ceausecu_events.includes(card) && game.persistent_events.includes(C_THE_TYRANT_IS_GONE)) { + else if (ceausecu_events.includes(card) && game.the_tyrant_is_gone > 0) { return true } else if (card === C_KOHL_PROPOSES_REUNIFICATION && !game.persistent_events.includes(C_THE_WALL_MUST_GO)) { @@ -4064,6 +4066,7 @@ function vm_return() { delete game.vm_influence_added delete game.communist_hand_red + console.log('in vm_return, game.active', game.active) game.vm_event = 0 /*Reset to 0 now that event has been completed. Hopefully this doesn't cause issues! */ if (game.persistent_events.includes(C_AUSTRIA_HUNGARY_BORDER_REOPENED)) { reset_austria_hungary_border_reopened() |