summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-08 18:58:47 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-10 11:50:28 +0100
commit7eeff7ae53ff15c5ff52e94be6a3b9658c957305 (patch)
tree93c85888abf15e09ed7f5d65ba57036df32ac895 /rules.js
parentd734057ed4d53c8ad25dc4abd768380f8a887ec1 (diff)
download1989-dawn-of-freedom-7eeff7ae53ff15c5ff52e94be6a3b9658c957305.tar.gz
Move unflushed summary to better place.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
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()