Adds the ishuman(user) Check

This commit is contained in:
KasparoVy
2015-08-30 16:22:34 -04:00
parent e1c84f7e9d
commit 5b5825dedd
@@ -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