Deny buckling when the user is inside lockers, mechs, etc. (#33015)

This commit is contained in:
Tad Hardesty
2017-11-24 20:29:43 -08:00
committed by CitadelStationBot
parent ff94b3e1e1
commit d52d546463
+1 -1
View File
@@ -99,7 +99,7 @@
//Wrapper procs that handle sanity and user feedback
/atom/movable/proc/user_buckle_mob(mob/living/M, mob/user, check_loc = TRUE)
if(!in_range(user, src) || user.stat || user.restrained())
if(!in_range(user, src) || !isturf(user.loc) || user.incapacitated())
return FALSE
add_fingerprint(user)