From 96ca08bcfae36841d03c47ce53ffa593c10092c8 Mon Sep 17 00:00:00 2001 From: QuoteFox <49098813+quotefox@users.noreply.github.com> Date: Thu, 2 Jul 2020 10:30:32 +0100 Subject: [PATCH] For the layer issue when dragging. Layer issues when dragging, fixed --- code/modules/mob/living/living.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 3ce62fd1..4226f828 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -324,8 +324,10 @@ switch(M.dir) if(NORTH) animate(M, pixel_x = 0, pixel_y = offset, 3) + M.layer = 4 if(SOUTH) animate(M, pixel_x = 0, pixel_y = -offset, 3) + M.layer = 3.9 if(EAST) if(M.lying == 270) //update the dragged dude's direction if we've turned M.lying = 90