From 7eb08144a88603a0ebf79494fe3fa7285e0e1264 Mon Sep 17 00:00:00 2001 From: SomeguyManperson Date: Sun, 8 Dec 2019 05:12:26 -0500 Subject: [PATCH] fixkckc --- code/modules/mob/living/carbon/human/examine.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 283e38edf7a2..6bdc73c82dc4 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -267,7 +267,7 @@ if (getToxLoss() >= 10) msg += "[t_He] seem[p_s()] sickly.\n" var/datum/component/mood/mood = src.GetComponent(/datum/component/mood) - if(mood.sanity <= SANITY_DISTURBED) + if(mood && mood.sanity <= SANITY_DISTURBED) msg += "[t_He] seem[p_s()] distressed.\n" SEND_SIGNAL(user, COMSIG_ADD_MOOD_EVENT, "empath", /datum/mood_event/sad_empath, src) if (HAS_TRAIT(src, TRAIT_BLIND))