mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Deny buckling when the user is inside lockers, mechs, etc. (#33015)
This commit is contained in:
committed by
Emmett Gaines
parent
fb9329d1c5
commit
220126fd93
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user