isliving use fix

This commit is contained in:
Tastyfish
2016-03-08 23:59:41 -05:00
parent 959b71ca37
commit a65fe9db00
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -486,8 +486,10 @@ BLIND // can't see anything
set name = "Open/Close Jacket"
set category = "Object"
set src in usr
if(!istype(usr, /mob/living)) return
if(usr.stat) return
if(!isliving(usr))
return
if(usr.stat)
return
adjustsuit(user)
/obj/item/clothing/suit/ui_action_click() //This is what happens when you click the HUD action button to adjust your suit.
+1 -1
View File
@@ -311,7 +311,7 @@
set name = "Transform Hood"
set category = "Object"
set src in usr
if(!istype(usr, /mob/living))
if(!isliving(src))
return
if(!usr.incapacitated())
if(adjusted)