summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 5aa5f58..ff590ed 100644
--- a/rules.js
+++ b/rules.js
@@ -1715,7 +1715,7 @@ states.final_scoring_held = {
},
bonus() {
console.log('game.revolutions: ', game.revolutions)
- const held_countries = game.revolutions.filter(value => value === false).length
+ const held_countries = Object.values(game.revolutions).filter(value => value === false).length
let vp_gain = 4*held_countries
log(`Communist holds ${held_countries} countries: gains ${vp_gain} VP`)
game.vp -= 4*held_countries