From 353d1e6265f6296905897024a7ae8a7f99ed4925 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 14 Nov 2024 18:02:15 +0000 Subject: Fix autoresolve Government Resigns --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 82ce1fc..0f83bac 100644 --- a/rules.js +++ b/rules.js @@ -3042,7 +3042,7 @@ function is_auto_resolve(card) { } } else if (card === C_GOVERNMENT_RESIGNS) { - let uncontrolled_elites = spaces.filter( space => game.comInfl[space.space_id] > 0 && !check_control(space.space_id)).length + let uncontrolled_elites = spaces.filter( space => spaces[space.space_id].socio === 1 && game.comInfl[space.space_id] > 0 && !check_control(space.space_id)).length if (uncontrolled_elites === 0) { if (!game.state.startsWith('vm')) { logi('No uncontrolled Elite spaces') } return true @@ -7713,7 +7713,7 @@ states.vm_tst_8 = { }, event() { push_undo() - log('Event') + log(`C${game.played_card}:`) game.vm_event_to_do = false game.return_state = 'vm_tst_8' game.return = game.active -- cgit v1.2.3