summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-29 20:38:17 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-29 20:38:17 +0100
commit100a525088e981538c1543aaf7581ebfebb36a83 (patch)
treefe94a765c4829a779ed1e934761e541b38cc8419
parent7250cb56e889dedff2f469ad95844081f1323a0d (diff)
download1989-dawn-of-freedom-100a525088e981538c1543aaf7581ebfebb36a83.tar.gz
Fix the Crowd Turns infl
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 0419a14..605fec7 100644
--- a/rules.js
+++ b/rules.js
@@ -1089,8 +1089,8 @@ states.the_crowd_turns_against_ceausescu = {
game.state = 'vm_the_crowd_turns_against_ceausescu'
valid_spaces_infl()
console.log('game valid spaces before', game.valid_spaces)
- game.valid_spaces.filter(n => spaces[n].country === 'Romania')
- console.log('game valid spaces after', game.valid_spaces)
+ game.valid_spaces = game.valid_spaces.filter(n => spaces[n].country === 'Romania')
+ console.log('game valid spaces before', game.valid_spaces)
game.state = 'the_crowd_turns_against_ceausescu_infl' /* Send this to add_infl. Add check at end of add_infl similar to valid_spaces*/
},
support_check() {