diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-16 11:03:24 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-16 11:46:21 +0100 |
commit | ee51f256f47f9ff9b2cfaf62d445ba021386bdbe (patch) | |
tree | 8a517f08495d40201e370d415e92c63478d098ac | |
parent | 0f8fa8417250c8d75d56ab14057dd3412f0ca014 (diff) | |
download | 1989-dawn-of-freedom-ee51f256f47f9ff9b2cfaf62d445ba021386bdbe.tar.gz |
Fix Kremlin Coup
-rw-r--r-- | rules.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5845,12 +5845,12 @@ states.vm_kremlin_coup_take_control = { vm_take_control(space)
game.vm_active_country = spaces[find_space_index(space)].country
console.log('space', find_space_index(space), 'country', game.vm_active_country)
- if (game.vm_active_country = 'East_Germany') {game.temp = 3 }
- if (game.vm_active_country = 'Poland') {game.temp = 17}
- if (game.vm_active_country = 'Czechoslovakia') {game.temp = 29}
- if (game.vm_active_country = 'Hungary') {game.temp = 45}
- if (game.vm_active_country = 'Romania') {game.temp = 61}
- if (game.vm_active_country = 'Bulgaria') {game.temp = 68}
+ if (game.vm_active_country === 'East_Germany') {game.temp = 3 }
+ if (game.vm_active_country === 'Poland') {game.temp = 17}
+ if (game.vm_active_country === 'Czechoslovakia') {game.temp = 29}
+ if (game.vm_active_country === 'Hungary') {game.temp = 45}
+ if (game.vm_active_country === 'Romania') {game.temp = 61}
+ if (game.vm_active_country === 'Bulgaria') {game.temp = 68}
game.valid_spaces.push(game.temp)
game.state = 'vm_kremlin_coup_sc_prep'
},
|