diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index f7f3ec32ac7..ad0cb3b1596 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -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. diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 79503f5699e..04b0d889e18 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -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)