From fecf879b0c8afb2f844121ddb482282c7a38a868 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Wed, 17 Feb 2021 18:54:59 +0300 Subject: [PATCH] Fixed --- code/controllers/subsystem/job.dm | 2 +- code/modules/tcg/cards.dm | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/controllers/subsystem/job.dm b/code/controllers/subsystem/job.dm index 84a9fc0e17..0d32ec84cf 100644 --- a/code/controllers/subsystem/job.dm +++ b/code/controllers/subsystem/job.dm @@ -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() diff --git a/code/modules/tcg/cards.dm b/code/modules/tcg/cards.dm index 34fd10d787..31f131618c 100644 --- a/code/modules/tcg/cards.dm +++ b/code/modules/tcg/cards.dm @@ -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) . = ..()