Lying only affects things that don't move you

This commit is contained in:
VampyrBytes
2016-02-12 09:47:41 +00:00
parent eabd94e844
commit 46d6182cbc
+3 -1
View File
@@ -771,7 +771,9 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
/mob/living/carbon/proc/slip(var/description, var/stun, var/weaken, var/tilesSlipped, var/walkSafely, var/slipAny)
if (flying || buckled || lying || (walkSafely && m_intent == "walk"))
if (flying || buckled || (walkSafely && m_intent == "walk"))
return
if ((lying) && (!(tilesSlipped)))
return
if (istype(loc, /obj/structure/closet)) // for getting in a locker
return