mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 18:33:36 +00:00
Update code/modules/tcg/cards.dm
Co-authored-by: Letter N <24603524+LetterN@users.noreply.github.com>
This commit is contained in:
@@ -624,7 +624,7 @@
|
|||||||
user.put_in_hands(choice)
|
user.put_in_hands(choice)
|
||||||
cards.Remove(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/obj/item/tcgcard_deck/new_deck = new(get_turf(user))
|
||||||
var/list/required_cards = decks[choice]
|
var/list/required_cards = decks[choice]
|
||||||
for(var/obj/item/tcg_card/card in cards)
|
for(var/obj/item/tcg_card/card in cards)
|
||||||
|
|||||||
Reference in New Issue
Block a user