summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-16 11:03:24 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-16 11:46:21 +0100
commitee51f256f47f9ff9b2cfaf62d445ba021386bdbe (patch)
tree8a517f08495d40201e370d415e92c63478d098ac
parent0f8fa8417250c8d75d56ab14057dd3412f0ca014 (diff)
download1989-dawn-of-freedom-ee51f256f47f9ff9b2cfaf62d445ba021386bdbe.tar.gz
Fix Kremlin Coup
-rw-r--r--rules.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 5ac0cee..71a58d3 100644
--- a/rules.js
+++ b/rules.js
@@ -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'
},