summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-01 12:32:48 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-01 12:32:48 +0000
commit74f6d1f269ef0eb5fb1cd616f6cb791d9041d756 (patch)
treeee634233b3c6ab2f02415e37fbed82107c5c6dfe
parent2dd7882a6f465d5a4cf9c1045dfe3bc2491ee9ca (diff)
download1989-dawn-of-freedom-74f6d1f269ef0eb5fb1cd616f6cb791d9041d756.tar.gz
Shorten game object
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 22e0975..d022769 100644
--- a/rules.js
+++ b/rules.js
@@ -3189,7 +3189,8 @@ function end_round() {
game.remove_opponent_infl = false
game.is_pwr_struggle = false
game.vm_infl_to_do = false /*Can get rid of this and use game.return_state? */
- game.vm_event_to_do = false
+ delete game.vm_event_to_do
+ delete game.vm_infl_to_do
delete game.vm_active_country
game.return_state = ''
game.discard = false