mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Fixes exploit for passing plastic flaps with a locker.
Fixes issue #254
This commit is contained in:
@@ -218,7 +218,7 @@
|
||||
return 0
|
||||
if(!isturf(O.loc))
|
||||
return 0
|
||||
if(user.restrained() || user.stat || user.weakened || user.stunned || user.paralysis)
|
||||
if(user.restrained() || user.stat || user.weakened || user.stunned || user.paralysis || user.lying)
|
||||
return 0
|
||||
if((!( istype(O, /atom/movable) ) || O.anchored || get_dist(user, src) > 1 || get_dist(user, O) > 1))
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user