diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6643,7 +6643,8 @@ states.vm_shock_therapy = { log(`Rolled a ${roll}`)
console.log('game.pieces', game.pieces)
for (let space of game.pieces) {
- if (space && space.country === game.vm_active_country && space.comCtrl === 1 && (space.socio === 3 || space.socio === 4)) {
+
+ if (space && spaces[space.space_id].country === game.vm_active_country && space.comCtrl === 1 && (space.socio === 3 || space.socio === 4)) {
game.temp++
}
}
|