From 899837324134d76f566ce369dc7e7a89b6415a52 Mon Sep 17 00:00:00 2001 From: Detective-Google <48196179+Detective-Google@users.noreply.github.com> Date: Thu, 25 Jun 2020 19:58:41 -0500 Subject: [PATCH] Update code/modules/mob/living/living_mobility.dm Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> --- code/modules/mob/living/living_mobility.dm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/code/modules/mob/living/living_mobility.dm b/code/modules/mob/living/living_mobility.dm index 32586c01bd..654a979445 100644 --- a/code/modules/mob/living/living_mobility.dm +++ b/code/modules/mob/living/living_mobility.dm @@ -96,14 +96,13 @@ mobility_flags &= ~MOBILITY_STAND setMovetype(movement_type | CRAWLING) if(!lying) //force them on the ground - if(src.dir == 1) - lying = pick(90, 270) - if(src.dir == 2) - lying = pick(90, 270) - if(src.dir == 4) - lying = 90 - if(src.dir == 8) - lying = 270 + switch(dir) + if(NORTH, SOUTH) + lying = pick(90, 270) + if(EAST) + lying = 90 + else //West + lying = 270 if(has_gravity() && !buckled) playsound(src, "bodyfall", 20, 1) else