Fixes plastic flap locker exploit

This commit is contained in:
ZomgPonies
2013-08-21 18:09:22 -04:00
parent ff70e253ae
commit 589a58a250
@@ -220,7 +220,7 @@
return
if(O.loc == user)
return
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
if((!( istype(O, /atom/movable) ) || O.anchored || get_dist(user, src) > 1 || get_dist(user, O) > 1 || user.contents.Find(src)))
return