summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-12-21 16:08:38 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-12-21 16:08:38 +0000
commiteab96f21dc93efa3f1800168a7bb0a9bb8f32da8 (patch)
tree7a88efd7d998cd18fde151acf86b75cb4035a33c /rules.js
parente9ab7e51dc74df537a4a798ff0e47a687add55d8 (diff)
download1989-dawn-of-freedom-eab96f21dc93efa3f1800168a7bb0a9bb8f32da8.tar.gz
Fix We Are the People autoresolve
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
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