summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-17 12:49:19 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-17 12:49:19 +0100
commitd2eb5b584d4859158a0092262aa49a1535736a94 (patch)
tree296b6e436095ea891cf67e48141e0128b07fa570
parent7171b89dd6ade39965f7d06ad45454ca3649c503 (diff)
download1989-dawn-of-freedom-d2eb5b584d4859158a0092262aa49a1535736a94.tar.gz
vm_valid_spaces_sc calls valid_spaces_sc
-rw-r--r--rules.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index e98d92c..24a3d9c 100644
--- a/rules.js
+++ b/rules.js
@@ -3702,7 +3702,9 @@ function vm_valid_spaces_country () {
function vm_valid_spaces_sc () {
console.log('in vm_valid_spaces_sc: game.persistent_events[we_are_the_people]', game.persistent_events['we_are_the_people'])
- let valid_spaces = []
+ valid_spaces_sc()
+
+ /*let valid_spaces = []
for (let space of game.pieces) {
if (!space) continue
if (game.active === DEM) {
@@ -3724,7 +3726,7 @@ function vm_valid_spaces_sc () {
game.valid_spaces = valid_spaces
if (game.persistent_events['foreign_currency_debt_burden'] !== '') {
game.valid_spaces = game.valid_spaces.filter(n => spaces[n].country !== game.persistent_events['foreign_currency_debt_burden'])
- }
+ }*/
vm_next()
}