From 7fa072030b5b155a9295d4870fed2e5f6467fc97 Mon Sep 17 00:00:00 2001 From: Fermi Date: Thu, 4 Jul 2019 23:44:13 +0100 Subject: [PATCH] Update to manage prefs. (and so it doesn't do it the wrong way round.) --- code/modules/mob/living/carbon/human/examine.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 9a2f6255cd..2fa98c59de 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -304,11 +304,11 @@ msg += "" - var/obj/item/organ/vocal_cords/Vc = getorganslot(ORGAN_SLOT_VOICE) + var/obj/item/organ/vocal_cords/Vc = user.getorganslot(ORGAN_SLOT_VOICE) if(Vc) - if (Vc.name == "Velvet chords") - if(user.client?.prefs.lewdchem) - msg += "You feel your chords resonate looking at them." + if(istype(Vc, /obj/item/organ/vocal_cords/velvet)) + if(client?.prefs.lewdchem) + msg += "You feel your chords resonate looking at them.\n" if(!appears_dead)