From 67d6b04fb8d8a9de569e17a6cc4f08dcb637205c Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 20 Sep 2024 17:28:41 +0100 Subject: Fix for Shock Therapy --- rules.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 489049c..a5f2180 100644 --- a/rules.js +++ b/rules.js @@ -6620,22 +6620,27 @@ states.vm_shock_therapy = { poland() { push_undo() game.vm_active_country = 'Poland' + log(`Chose ${country_name(game.vm_active_country)}`) }, czechoslovakia() { push_undo() game.vm_active_country = 'Czechoslovakia' + log(`Chose ${country_name(game.vm_active_country)}`) }, hungary() { push_undo() game.vm_active_country = 'Hungary' + log(`Chose ${country_name(game.vm_active_country)}`) }, romania() { push_undo() game.vm_active_country = 'Romania' + log(`Chose ${country_name(game.vm_active_country)}`) }, bulgaria () { push_undo() game.vm_active_country = 'Bulgaria' + log(`Chose ${country_name(game.vm_active_country)}`) }, roll() { clear_undo() @@ -8031,7 +8036,7 @@ CODE[92] = [ // Betrayal CODE[93] = [ // Shock Therapy* [ vm_shock_therapy ], [ vm_valid_spaces_country ], - [ vm_prompt, ()=>` to ${country_name(game.vm_active_country)}` ], + [ vm_prompt, ()=>` ${country_name(game.vm_active_country)}` ], [ vm_add_infl_free, 3 ], [ vm_permanently_remove ], [ vm_return ], -- cgit v1.2.3