From 0604eabf1e94a9eda96ff2d11e01aaab8df4e39d Mon Sep 17 00:00:00 2001 From: "mport2004@gmail.com" Date: Sun, 30 Oct 2011 10:02:41 +0000 Subject: [PATCH] Quick null check so the hair quits spamming runtimes. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2453 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/human/human.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 6454ca66718..5a299dc0586 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1232,6 +1232,7 @@ lying_icon.Blend(new /icon('human.dmi', "underwear[underwear]_[g]_l"), ICON_OVERLAY) /mob/living/carbon/human/proc/update_face() + if(!facial_hair_style || !hair_style) return//Seems people like to lose their icons, this should stop the runtimes for now del(face_standing) del(face_lying)