summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-11 08:23:56 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-11 08:23:56 +0000
commitbda4e3eb1a7cb72088334599a3eba1bec8752efe (patch)
tree984831738dbb069bc3120648e1f12defb0b2871a /rules.js
parent0587858639d8b6db5f8a36eb43eb6355f6146999 (diff)
download1989-dawn-of-freedom-bda4e3eb1a7cb72088334599a3eba1bec8752efe.tar.gz
Fix typo
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index c4a4a38..6755fe0 100644
--- a/rules.js
+++ b/rules.js
@@ -7986,7 +7986,7 @@ CODE[9] = [ // The Wall*
CODE[10] = [ // Cult of Personality
[ vm_permanently_remove ],
- [ vm_if, ()=>!game.persistent_events.includes(C_THE_TYRANT_IS_GONE_OCCURRED) ],
+ [ vm_if, ()=>!game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) ],
[ vm_valid_spaces_country_socio_2, 'Romania', 3, 4 ],
[ vm_prompt, 'Worker or Farmer spaces in Romania, no more than 2 per space' ],
[ vm_add_limited_infl, 4, 2 ],
@@ -8220,7 +8220,7 @@ CODE[40] = [ // Hungarian Democratic Forum
CODE[41] = [ // Ceausescu*
[ vm_permanently_remove ],
- [ vm_if, ()=>game.persistent_events.includes(C_THE_TYRANT_IS_GONE_OCCURRED) ],
+ [ vm_if, ()=>game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) ],
[ vm_tyrant_block ],
[ vm_else ],
[ vm_if, ()=>!is_auto_resolve(C_CEAUSESCU) ],
@@ -8431,7 +8431,7 @@ CODE[68] = [ // Klaus and Komarek*
]
CODE[69] = [ // Systematization*
- [ vm_if, ()=>!game.persistent_events.includes(C_THE_TYRANT_IS_GONE_OCCURRED) ],
+ [ vm_if, ()=>!game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) ],
[ vm_valid_spaces_country, 'Romania' ],
[ vm_systematization ],
[ vm_else ],
@@ -8707,7 +8707,7 @@ CODE[100] = [ // Stand Fast*
]
CODE[101] = [ // Elena*
- [ vm_if, ()=>!game.persistent_events.includes(C_THE_TYRANT_IS_GONE_OCCURRED) ],
+ [ vm_if, ()=>!game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) ],
[ vm_valid_spaces, 'Cluj-Napoca' ],
[ vm_prompt, 'the Romania Elite Space' ],
[ vm_add_x_infl, 2 ],
@@ -8766,7 +8766,7 @@ CODE[106] = [ // Social Democratic Platform Adopted*
CODE[107] = [ // Massacre in Timisoara*
[ vm_permanently_remove ],
- [ vm_if, ()=>!game.persistent_events.includes(C_THE_TYRANT_IS_GONE_OCCURRED) ],
+ [ vm_if, ()=>!game.persistent_events.includes(THE_TYRANT_IS_GONE_OCCURRED) ],
[ vm_massacre_in_timisoara ],
[ vm_valid_spaces_country_sc, 'Romania' ],
[ vm_prompt, 'Make Support Checks in Romania' ],