From fb1939d31743a6d7983537b95235e27e41da25ea Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Tue, 19 Oct 2010 01:34:12 +0000 Subject: [PATCH] Fixed space helmets not properly counting towards your resistance to contracting diseases. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@319 316c924e-a436-60f5-8080-3fe189b3f50e --- code/datums/disease.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/disease.dm b/code/datums/disease.dm index d15b5021c4e..39a2fe5c92c 100644 --- a/code/datums/disease.dm +++ b/code/datums/disease.dm @@ -48,7 +48,7 @@ score += 5 if(istype(src:wear_suit, /obj/item/clothing/suit/space)) score += 10 if(istype(src:wear_suit, /obj/item/clothing/suit/bio_suit)) score += 10 - if(istype(src:wear_suit, /obj/item/clothing/head/helmet/space)) score += 5 + if(istype(src:head, /obj/item/clothing/head/helmet/space)) score += 5 if(istype(src:head, /obj/item/clothing/head/bio_hood)) score += 5 if(src.wear_mask) score += 5