Update code/modules/mob/living/living_mobility.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
Detective-Google
2020-06-25 19:58:41 -05:00
committed by GitHub
parent ea5b155057
commit 8998373241
+7 -8
View File
@@ -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