summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-11 00:24:09 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-11 00:24:09 +0000
commit2fa95f60a0ff372ecc556b2c64b4198e9bbbf5ad (patch)
tree9e33f5e31e2be73db4396cf7ae20cad37bb1d0bd
parent207c877d9b6461ff3d02ee18f27a675b3ab8008c (diff)
download1989-dawn-of-freedom-2fa95f60a0ff372ecc556b2c64b4198e9bbbf5ad.tar.gz
Fix scoring applying change VP
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 4542f26..1b348c5 100644
--- a/rules.js
+++ b/rules.js
@@ -3088,9 +3088,10 @@ function score_country(country) {
}
// Calculate change VP
-/*
+
let change_vp = dem_vp + com_vp
game.vp += change_vp
+ /*
log_gap('Net VP:')
if (change_vp > 0) {
logi(`+${change_vp} VP`)
@@ -4270,6 +4271,7 @@ function check_tyrant_sc() {
function resolve_tyrant() {
if (
game.persistent_events.includes(C_THE_TYRANT_IS_GONE) &&
+ !game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) &&
game.pwr_struggle_in === 'Romania' &&
game.persistent_events.includes(THE_CROWD_TURNS_AGAINST_CEAUSESCU_OCCURRED)
) {