From 0636988083eeae4ed7eb95a4d6961dab35accf76 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 20 Sep 2024 16:57:02 +0100 Subject: Fix for New Years Eve Party --- rules.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 4f5b355..e43e5b0 100644 --- a/rules.js +++ b/rules.js @@ -1811,35 +1811,36 @@ states.new_years_eve_party = { }, east_germany() { push_undo() - game.pwr_struggle_in = 'East_Germany' + game.vm_event = 42 goto_vm(42) }, poland() { push_undo() - game.pwr_struggle_in = 'Poland' + game.vm_event = 22 goto_vm(22) }, czechoslovakia() { push_undo() - game.pwr_struggle_in = 'Czechoslovakia' + game.vm_event = 55 goto_vm(55) }, hungary() { push_undo() - game.pwr_struggle_in = 'Hungary' + game.vm_event = 23 goto_vm(23) }, romania() { push_undo() - game.pwr_struggle_in = 'Romania' + game.vm_event = 95 goto_vm(95) }, bulgaria () { push_undo() - game.pwr_struggle_in = 'Bulgaria' + game.vm_event = 43 goto_vm(43) }, pass() { + push_undo() if (game.vp > 0) { goto_game_over(DEM, `New Year's Eve Party: ${DEM} wins on Victory Point Track!`) } else if (game.vp < 0) { -- cgit v1.2.3