diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-14 18:02:15 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-14 18:02:15 +0000 |
commit | 353d1e6265f6296905897024a7ae8a7f99ed4925 (patch) | |
tree | a4a626625a1b67e95b8d5ed0a53443833a6ab1f1 /rules.js | |
parent | 6911443514135896a8bda0a28ff3a03ddaca9f3b (diff) | |
download | 1989-dawn-of-freedom-353d1e6265f6296905897024a7ae8a7f99ed4925.tar.gz |
Fix autoresolve Government Resigns
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |