Fixes being cuffed making you unable to move (#15131)

This commit is contained in:
Farie82
2020-12-17 19:58:09 +01:00
committed by GitHub
parent a4283d707a
commit 7b160e30be

View File

@@ -199,10 +199,9 @@
///Called by client/Move()
///Checks to see if you are being grabbed and if so attemps to break it
/client/proc/Process_Grab()
if(mob.incapacitated(FALSE, TRUE, TRUE)) // Can't break out of grabs if you're incapacitated
return TRUE
if(mob.grabbed_by.len)
if(mob.incapacitated(FALSE, TRUE, TRUE)) // Can't break out of grabs if you're incapacitated
return TRUE
var/list/grabbing = list()
if(istype(mob.l_hand, /obj/item/grab))