summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-11 17:55:21 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-11 17:55:21 +0000
commit74258665410edbb7b6f4a0b56d80d16689fea6bb (patch)
tree750f81a23438812ee8195c9865a7e78bc60ed4ba
parent7d4f6e7a27d32f487b850b8b85a7e2753c1471ac (diff)
download1989-dawn-of-freedom-74258665410edbb7b6f4a0b56d80d16689fea6bb.tar.gz
Fix Tyrant in end game scoring
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 9b8cb6f..dc6e0e5 100644
--- a/rules.js
+++ b/rules.js
@@ -1628,7 +1628,7 @@ states.end_turn_4_5_4 = {
log_h1(`New Year's Eve Party`)
game.vm_event = 104
//Check if the Communist receives VP from The Tyrant is Gone
- if (game.persistent_events.includes(C_THE_TYRANT_IS_GONE)) {
+ if (game.the_tyrant_is_gone && game.the_tyrant_is_gone > 0) {
game.vp -= 2
log(`Communist receives 2 VP from C97`)
}
@@ -1643,7 +1643,7 @@ states.end_turn_4_5_4 = {
log_h2('Final Scoring')
//Check if the Communist receives VP from The Tyrant is Gone
- if (game.persistent_events.includes(C_THE_TYRANT_IS_GONE)) {
+ if (game.the_tyrant_is_gone && game.the_tyrant_is_gone > 0) {
game.vp -= 2
log(`Communist receives 2 VP from C97`)
}