diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -43,8 +43,6 @@ exports.setup = function (seed, scenario, options) { vm_event: 0,
vm_event_to_do: false,
vm_infl_to_do: false,
- vm_influence_added: {},
- vm_max_infl: 0,
played_card: 0,
table_cards: [],
@@ -3314,8 +3312,6 @@ function end_round() { game.vm_active_country = ''
game.return_state = ''
game.discard = false
- //game.warsaw_pact_summit = false
- game.vm_influence_added = {}
game.return = ''
game.valid_cards = []
game.valid_spaces = []
@@ -4249,19 +4245,12 @@ function pop_vm_prompt() { }
function vm_return() {
- /* let return_vm = game.vm.return_vm;
- console.log('in vm_return')
- // Return control to the phasing player
- if (return_vm) {
- game.vm = return_vm;
- vm_next();
- } else {
- // End of VM execution, return to normal game state
- game.state = "play_card";
- } */
- console.log('in vm_return, discard:', game.strategy_discard)
+ //Remove temporary vm variables
delete game.support_check_modifier
+ delete game.vm_max_infl
+ delete game.vm_influence_added
+
game.vm_event = 0 /*Reset to 0 now that event has been completed. Hopefully this doesn't cause issues! */
if (game.persistent_events.includes(58)) {
reset_austria_hungary_border_reopened()
|