From 46d6182cbcdb7e53f216e2104bc104ea4edbb540 Mon Sep 17 00:00:00 2001 From: VampyrBytes Date: Fri, 12 Feb 2016 09:47:41 +0000 Subject: [PATCH] Lying only affects things that don't move you --- code/modules/mob/living/carbon/carbon.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 0a112b92cf7..b2cd0136f30 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -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