summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-03 11:04:54 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-03 11:04:54 +0100
commit975fbbacd6bb3b6f70c5657e6d624cc33d0730c5 (patch)
tree83dc0a0c6b777cf39beb88a3815e73459734dbf6 /rules.js
parent0dac3647d5da0b4f20eb372707daf352c3dd6699 (diff)
download1989-dawn-of-freedom-975fbbacd6bb3b6f70c5657e6d624cc33d0730c5.tar.gz
Fix Samizdat
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 0025460..8584074 100644
--- a/rules.js
+++ b/rules.js
@@ -7296,13 +7296,11 @@ states.vm_samizdat = {
return `resolve ${clean_name(cards[game.played_card].name)}.`
},
prompt() {
- if (game.samizdat_card !==0) {
- view.prompt = 'Samizdat: you may set aside a card from your hand and draw a replacement.'
- for (let card of game.democrat_hand) {
- gen_action_card(card)
- }
- gen_action('pass')
+ view.prompt = 'Samizdat: you may set aside a card from your hand and draw a replacement.'
+ for (let card of game.democrat_hand) {
+ gen_action_card(card)
}
+ gen_action('pass')
},
card(card) {
push_undo()