Update code/modules/tcg/cards.dm

Co-authored-by: Letter N <24603524+LetterN@users.noreply.github.com>
This commit is contained in:
SmArtKar
2021-02-18 17:44:33 +03:00
committed by GitHub
parent 21012bf94e
commit 5e8209a6e9

View File

@@ -624,7 +624,7 @@
user.put_in_hands(choice)
cards.Remove(choice)
if(choice && choice in decks)
if(choice && (choice in decks))
var/obj/item/tcgcard_deck/new_deck = new(get_turf(user))
var/list/required_cards = decks[choice]
for(var/obj/item/tcg_card/card in cards)