From d2eb5b584d4859158a0092262aa49a1535736a94 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Tue, 17 Sep 2024 12:49:19 +0100 Subject: vm_valid_spaces_sc calls valid_spaces_sc --- rules.js | 6 ++++-- 1 file 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() } -- cgit v1.2.3