A couple istype->ishuman replacements

This commit is contained in:
Krausus
2015-06-10 11:02:54 -04:00
parent 222215880c
commit 1389f0eb9b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1069,7 +1069,7 @@ datum/mind
else if (href_list["common"])
switch(href_list["common"])
if("undress")
if(istype(current, /mob/living/carbon/human))
if(ishuman(current))
var/mob/living/carbon/human/H = current
// Don't "undress" organs right out of the body
for(var/obj/item/W in H.contents - (H.organs | H.internal_organs))