summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-12-21 16:14:14 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-12-21 16:14:14 +0000
commit4090d0c4d77b1b092c247f9accbf1ea5566db5a7 (patch)
treeaa57110623e4e8dc81e841103a881a0bb977e9f0
parenteab96f21dc93efa3f1800168a7bb0a9bb8f32da8 (diff)
download1989-dawn-of-freedom-4090d0c4d77b1b092c247f9accbf1ea5566db5a7.tar.gz
Fix New Years Eve Party
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 2884b31..faa4fb2 100644
--- a/rules.js
+++ b/rules.js
@@ -7760,7 +7760,7 @@ states.vm_new_years_eve_party = {
},
end() {
push_undo()
- game.persistent_events.push(C_NEW_YEARS_EVE_PARTY)
+ add_to_persistent_events(C_NEW_YEARS_EVE_PARTY)
log('Choses to end the game. There will be no final scoring.')
let power = game.revolutions.filter(value => value === false).length
if (power > 3) {