From 6e329a6cf4f6748cc6501f4c95e60406c2ffeb08 Mon Sep 17 00:00:00 2001 From: paprka Date: Tue, 3 Feb 2015 21:07:38 -0800 Subject: [PATCH] fixes hardsuit runtime --- code/modules/clothing/suits/toggles.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/clothing/suits/toggles.dm b/code/modules/clothing/suits/toggles.dm index 6aea7b47eb1..779ad6c05e4 100644 --- a/code/modules/clothing/suits/toggles.dm +++ b/code/modules/clothing/suits/toggles.dm @@ -93,6 +93,8 @@ ..() /obj/item/clothing/suit/space/hardsuit/proc/RemoveHelmet() + if(!helmettype) + return suittoggled = 0 if(ishuman(helmet.loc)) var/mob/living/carbon/H = helmet.loc