mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Adds the ishuman(user) Check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user