This commit is contained in:
SmArtKar
2021-02-17 18:54:59 +03:00
parent 756be084bc
commit fecf879b0c
2 changed files with 5 additions and 5 deletions

View File

@@ -524,7 +524,7 @@ SUBSYSTEM_DEF(job)
card.forceMove(new_deck)
new_deck.contents.Add(card)
continue
var/obj/item/tcg_card/card = new(get_turf(H), card_type, H.client.prefs.tcg_cards[card_type])
var/obj/item/tcg_card/card = new(get_turf(H), card_type, N.client.prefs.tcg_cards[card_type])
card.forceMove(binder)
binder.cards.Add(card)
binder.check_for_exodia()

View File

@@ -387,13 +387,13 @@
if(flipped)
switch(contents.len)
if(1 to 10)
icon_state = "deck_tcg_low"
icon_state = "deck_low"
if(11 to 20)
icon_state = "deck_tcg_half"
icon_state = "deck_half"
if(21 to INFINITY)
icon_state = "deck_tcg_full"
icon_state = "deck_full"
else
icon_state = "deck_tcg_full"
icon_state = "deck_up"
/obj/item/tcgcard_deck/examine(mob/user)
. = ..()