mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
isliving use fix
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user