diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-24 19:53:51 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-24 19:53:51 +0100 |
commit | c8b701953f1b0a6349d738895df738d4899ab1f5 (patch) | |
tree | 606527d2c319365b9a0febcdf9b4b3eb17022ebc | |
parent | 61cccf6066db2628b151c185d875381575dfb422 (diff) | |
download | 1989-dawn-of-freedom-c8b701953f1b0a6349d738895df738d4899ab1f5.tar.gz |
Fix for Power Struggle incorrectly showing NYE Party
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1576,7 +1576,7 @@ states.power_struggle = { states.support_loss ={
inactive: 'do Support Loss.',
prompt () {
- if (!game.vm_event === 104) {
+ if (!game.persistent_events.includes(111)) {
if (game.phase === 0) {
view.prompt = 'You lost the Power Struggle. Roll a die for Support Loss.'
gen_action('roll')
@@ -1675,7 +1675,7 @@ states.support_loss ={ states.vp_roll = {
inactive: 'do VP Roll.',
prompt () {
- if (!game.vm_event === 104) {
+ if (!game.persistent_events.includes(111)) {
if (game.phase === 0) {
view.prompt = `Power Struggle - ${country_name(game.pwr_struggle_in)}: roll a die for Victory.`
gen_action('roll')
@@ -8192,7 +8192,7 @@ states.vm_social_democratic_platform_adopted = { },
pass() {
log('Passed')
- vm_return()
+ vm_return()
}
}
|