summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-28 16:34:49 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-28 16:34:49 +0100
commit3da222b93d1a6e1c35cb4739dee962c7dcec233c (patch)
tree613a74d2d5a4987508129c1c06715ff61ad56600
parente699e5d0fbd401a2e1a8dd13c54d54221327eabc (diff)
download1989-dawn-of-freedom-3da222b93d1a6e1c35cb4739dee962c7dcec233c.tar.gz
Small tweaks
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index aad8617..081bee0 100644
--- a/rules.js
+++ b/rules.js
@@ -3664,6 +3664,9 @@ function check_control_change(space_id) {
if (game.persistent_events['the_tyrant_is_gone'] > 0 && check_dem_control(game.persistent_events['the_tyrant_is_gone'])) {
log('+2 VP from C97')
game.vp += 2
+ if (check_vp()) {
+ return
+ }
game.persistent_events['the_tyrant_is_gone'] = 0
}
}