From 5b5825dedd049fb33c4d4bc7c6a8179b7dfdcaaf Mon Sep 17 00:00:00 2001 From: KasparoVy Date: Sun, 30 Aug 2015 16:22:34 -0400 Subject: [PATCH] Adds the ishuman(user) Check --- code/modules/clothing/spacesuits/miscellaneous.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/clothing/spacesuits/miscellaneous.dm b/code/modules/clothing/spacesuits/miscellaneous.dm index 1a770189db6..f6e5aab58f3 100644 --- a/code/modules/clothing/spacesuits/miscellaneous.dm +++ b/code/modules/clothing/spacesuits/miscellaneous.dm @@ -13,7 +13,7 @@ "Vox" = 'icons/mob/species/vox/helmet.dmi' ) /obj/item/clothing/head/helmet/space/capspace/equipped(var/mob/living/carbon/human/user, var/slot) - if (user.species.name == "Vox") + if (ishuman(user) && user.species.name == "Vox") flags = HEADCOVERSEYES | HEADCOVERSMOUTH | STOPSPRESSUREDMAGE | THICKMATERIAL else flags = HEADCOVERSEYES | HEADCOVERSMOUTH | BLOCKHAIR | STOPSPRESSUREDMAGE | THICKMATERIAL