From 7eeff7ae53ff15c5ff52e94be6a3b9658c957305 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 8 Jan 2025 18:58:47 +0100 Subject: Move unflushed summary to better place. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 67f29e9..d49bc77 100644 --- a/rules.js +++ b/rules.js @@ -3773,7 +3773,6 @@ function finish_the_wall() { } function finish_we_are_the_people() { - summary_flush() game.valid_spaces = [...S_EAST_GERMANY] game.vm_max_infl = 2 game.vm_available_ops = game.vm_influence_added[S_LUTHERAN_CHURCH] @@ -8146,13 +8145,14 @@ states.vm_we_are_the_people_remove = { if (game.vm_influence_added[S_LUTHERAN_CHURCH] === 4 || game.valid_spaces.length === 0 ) { + summary_flush() finish_we_are_the_people() } }, done() { push_undo() + summary_flush() if (!game.vm_influence_added[S_LUTHERAN_CHURCH]) { - logi('None') vm_next() } else { finish_we_are_the_people() -- cgit v1.2.3