summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-07 17:18:53 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-07 17:18:53 +0100
commitd6d29d621fbb4dc78e38fdb2f31f9b914997acb5 (patch)
tree54146809b813d7d472026698530dd2c671fd2496 /rules.js
parent4c1a86f1971328cca921fee04c482ebb007dd2d9 (diff)
download1989-dawn-of-freedom-d6d29d621fbb4dc78e38fdb2f31f9b914997acb5.tar.gz
Fix for valid_spaces_sc
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 16a49fa..3e13e98 100644
--- a/rules.js
+++ b/rules.js
@@ -2527,12 +2527,12 @@ function valid_spaces_sc() {
if (game.active === DEM) {
infl = game.comInfl[i]
- //if (infl !== 0 ) {
+ if (infl !== 0 ) {
valid_spaces_set.add(space.space_id);
- //}
+ }
} else {
infl = game.demInfl[i]
- //if (infl !== 0 ) {
+ if (infl !== 0 ) {
// Check Solidarity Legalised
if (game.persistent_events.includes(2) && space.space_id === 14) {continue}
@@ -2548,7 +2548,7 @@ function valid_spaces_sc() {
valid_spaces_set.add(space.space_id);
}
- //}
+ }
}
}