summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-20 17:14:50 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-20 17:14:50 +0100
commitee15a55e66df29d14aec762d5cd585119325189f (patch)
treead33b1b0adc34af717d0b8afb6cbab6bc26b01fe
parent8735c6e7e0e39a0700c77f67c6864c052873a7a1 (diff)
download1989-dawn-of-freedom-ee15a55e66df29d14aec762d5cd585119325189f.tar.gz
Fix for Shock Therapy
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 56ab281..8880589 100644
--- a/rules.js
+++ b/rules.js
@@ -6645,7 +6645,7 @@ states.vm_shock_therapy = {
for (let space of game.pieces) {
if (space) {
console.log('checking space', spaces[space.space_id].country, game.vm_active_country, space.comCtrl, space.socio )
- if (space && spaces[space.space_id].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 && (spaces[space.space_id].socio === 3 || spaces[space.space_id].socio === 4)) {
game.temp++
}
}