diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|