Skip to content

Commit

Permalink
Merge pull request #4315 from NoahTheDuke/nb/fix-itinerant-protesters
Browse files Browse the repository at this point in the history
Fix Itinerant Protesters bug
  • Loading branch information
NoahTheDuke authored Jul 12, 2019
2 parents 4b8dce2 + 05479ca commit ef35752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clj/game/cards/events.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1279,8 +1279,8 @@
:effect (req (change-hand-size state :corp (- (count-bad-pub state)))
(add-watch state :itin
(fn [k ref old new]
(let [bpnew (count-bad-pub new)
bpold (count-bad-pub old)
(let [bpnew (count-bad-pub (atom new))
bpold (count-bad-pub (atom old))
bpchange (- bpnew bpold)]
(when-not (zero? bpchange)
(change-hand-size state :corp (- bpchange)))))))
Expand Down

0 comments on commit ef35752

Please sign in to comment.