diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-21 16:08:38 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-21 16:08:38 +0000 |
commit | eab96f21dc93efa3f1800168a7bb0a9bb8f32da8 (patch) | |
tree | 7a88efd7d998cd18fde151acf86b75cb4035a33c | |
parent | e9ab7e51dc74df537a4a798ff0e47a687add55d8 (diff) | |
download | 1989-dawn-of-freedom-eab96f21dc93efa3f1800168a7bb0a9bb8f32da8.tar.gz |
Fix We Are the People autoresolve
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |