summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-17 17:41:02 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-17 17:41:02 +0000
commit1e335b7af860d14242828a24aa4e0ccaee8c13e4 (patch)
treed8aa310343f9d1de52aee830f6ee2f1bab28fe31 /rules.js
parent1d6b3cc7f6a93639e2a5594ef60f06e1604fc5e6 (diff)
download1989-dawn-of-freedom-1e335b7af860d14242828a24aa4e0ccaee8c13e4.tar.gz
Fix Ceausescu - add to persistent events when autoresolving
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 13c43ed..26a790d 100644
--- a/rules.js
+++ b/rules.js
@@ -3279,6 +3279,7 @@ function is_auto_resolve(card) {
} else if (card === C_CEAUSESCU && game.active === DEM) {
let dem_romania_infl = spaces.filter(space => space.country === 'Romania' && game.demInfl[space.space_id] > 0).length
if (dem_romania_infl === 0) {
+ add_to_persistent_events(C_CEAUSESCU)
if (!game.state.startsWith('vm')) {
log('No influence to remove.')
}