Adds human type check

Fixes some problematic Drask helmet sprites
This commit is contained in:
HugoLuman
2016-05-06 21:56:03 -07:00
parent 680522413f
commit b105d47c29
2 changed files with 1 additions and 1 deletions
@@ -39,7 +39,7 @@
//So this is a workaround. This also makes more sense from an IC standpoint. ~Carn
if(user.client && (target in user.client.screen))
to_chat(user, "<span class='notice'>You need to take that [target.name] off before cleaning it.</span>")
else if(target == user && user.a_intent == I_GRAB)
else if(target == user && user.a_intent == I_GRAB && ishuman(target))
var/mob/living/carbon/human/muncher = user
if(muncher && muncher.get_species() == "Drask")
to_chat(user, "You take a bite of the [src.name]. Delicious!")