summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-18 17:50:58 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-18 17:50:58 +0100
commit010277cee793f669a0061115ba9f85e400e8ffee (patch)
tree38b80ac90116deda14b7c179303126bc99618913
parent1bebacfe15fbe0b5d85a873cf40a07ea46b1404e (diff)
download1989-dawn-of-freedom-010277cee793f669a0061115ba9f85e400e8ffee.tar.gz
Fix for secondary event replacing main card in support check
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 917569b..67f5ddc 100644
--- a/rules.js
+++ b/rules.js
@@ -3626,6 +3626,7 @@ function vm_return() {
} */
console.log('in vm_return, discard:', game.strategy_discard)
game.support_check_modifier = 0
+ game.vm_event = 0 /*Reset to 0 now that event has been completed. Hopefully this doesn't cause issues! */
//game.view_opp_hand = false
console.log('in vm_return, game.vm_return:', game.vm_return, 'game.return_state:', game.return_state, 'game.vm_infl_to_do', game.vm_infl_to_do, 'game.vm_event_to_do', game.vm_event_to_do)
/*if (!game.vm_infl_to_do && !game.vm_event_to_do) {