Skip to content

Commit 34d6229

Browse files
authored
Merge pull request #8190 from NBKelly/fix-equivocation
equivocation no longer broken
2 parents 58e067d + 801559a commit 34d6229

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/clj/game/cards/programs.clj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,21 +1352,21 @@
13521352
(strength-pump 2 4)]))
13531353

13541354
(defcard "Equivocation"
1355-
(let [force-draw (fn [title]
1355+
(let [force-draw (fn [c]
13561356
{:optional
1357-
{:prompt (str "Force the Corp to draw " title "?")
1357+
{:prompt (str "Force the Corp to draw " (:title c) "?")
13581358
:yes-ability
13591359
{:async true
1360-
:effect (req (system-msg state :corp (str "is forced to draw " title))
1360+
:effect (req (system-msg state :corp (str "is forced to draw " (:title c)))
13611361
(draw state :corp eid 1))}}})
13621362
rvl {:optional
13631363
{:prompt "Reveal the top card of R&D?"
13641364
:yes-ability
13651365
{:async true
1366-
:effect (req (let [topcard (-> corp :deck first :title)]
1366+
:effect (req (let [topcard (get-in @state [:corp :deck 0])]
13671367
(wait-for
13681368
(reveal state side topcard)
1369-
(system-msg state :runner (str "reveals " topcard
1369+
(system-msg state :runner (str "reveals " (:title topcard)
13701370
" from the top of R&D"))
13711371
(continue-ability state side (force-draw topcard) card nil))))}}}]
13721372
{:events [{:event :successful-run

0 commit comments

Comments
 (0)