You can now take off clothes while on stasis

This commit is contained in:
Jared-Fogle
2020-07-21 23:16:55 -07:00
parent ef1ed0da75
commit c3fd280a01
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
CtrlClickOn(A)
return
if(incapacitated(ignore_restraints = 1))
if(incapacitated(ignore_restraints = TRUE, ignore_stasis = TRUE))
return
face_atom(A)
+1 -1
View File
@@ -130,7 +130,7 @@
if(world.time <= usr.next_move)
return TRUE
if(usr.incapacitated())
if(usr.incapacitated(ignore_stasis = TRUE))
return TRUE
if(ismecha(usr.loc)) // stops inventory actions in a mech
return TRUE
+1 -1
View File
@@ -287,7 +287,7 @@
return
///Is the mob incapacitated
/mob/proc/incapacitated(ignore_restraints = FALSE, ignore_grab = FALSE, check_immobilized = FALSE)
/mob/proc/incapacitated(ignore_restraints = FALSE, ignore_grab = FALSE, ignore_stasis = FALSE)
return
/**