From eab96f21dc93efa3f1800168a7bb0a9bb8f32da8 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 21 Dec 2024 16:08:38 +0000 Subject: Fix We Are the People autoresolve --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 5b20623..2884b31 100644 --- a/rules.js +++ b/rules.js @@ -3487,6 +3487,7 @@ function is_auto_resolve(card) { if (game.demInfl[S_LUTHERAN_CHURCH] === 0) { if (!game.state.startsWith('vm')) { log('No influence to remove.') + add_to_persistent_events(C_WE_ARE_THE_PEOPLE) } return true } @@ -3774,8 +3775,7 @@ function finish_play_card() { function finish_the_wall() { if (game.the_wall_must_go['dem_wins'] === 2) { delete game.the_wall_must_go - game.persistent_events.push(C_THE_WALL_MUST_GO) - remove_from_discard(C_THE_WALL_MUST_GO) + add_to_persistent_events(C_THE_WALL_MUST_GO) game.playable_cards = game.playable_cards.filter(card => card !== C_THE_WALL) log('+3 VP') game.vp += 3 -- cgit v1.2.3