summaryrefslogtreecommitdiff
path: root/rules.js
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-02 08:22:05 +0000
commitd3893ad84c1da64fbfb8c19ae31045e6bebf66f1 (patch)
tree0d92fd962beb38d88bd4f877d46f57e94fb39b8d /rules.js
parent49a0fcff3a85f533b5b75fed5b0987fc1dc543cb (diff)
download1989-dawn-of-freedom-d3893ad84c1da64fbfb8c19ae31045e6bebf66f1.tar.gz
Shorten game object
Diffstat (limited to 'rules.js')
-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