From 83b3585684d530e6ea1b0d8017f62bc2475be5d1 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 28 Sep 2024 12:37:38 +0100 Subject: Updates Kremlin Coup --- rules.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 0726b03..d35eaaa 100644 --- a/rules.js +++ b/rules.js @@ -5051,11 +5051,6 @@ function vm_kremlin_coup() { } }) console.log('game.temp', game.temp) - elite_spaces.forEach(space => { - if (!game.revolutions[spaces[space].country] && !check_com_control(space)) { - game.valid_spaces.push(space); - } - }) game.state = 'vm_kremlin_coup_choose_country' } @@ -5507,6 +5502,7 @@ function vm_support_falters() { } function vm_kremlin_coup_elite() { + game.valid_spaces=[] elite_spaces.forEach(space => { if (spaces[space].country === game.vm_active_country && !check_com_control(space)) { game.valid_spaces.push(space); @@ -6663,7 +6659,7 @@ states.vm_kremlin_coup_take_control = { view.prompt = 'Kremlin Coup. Elite space controlled: done.' gen_action('done') } else { - view.prompt = `Kremlin Coup: Take control of the Elite spaces in ${country_name(game.vm_active_country)}.` + view.prompt = `Kremlin Coup: Take control of the Elite space in ${country_name(game.vm_active_country)}.` for (let space_id of game.valid_spaces) { gen_action_infl(spaces[space_id].name_unique); } -- cgit v1.2.3