For the layer issue when dragging.

Layer issues when dragging, fixed
This commit is contained in:
QuoteFox
2020-07-02 10:30:32 +01:00
parent ad898efb9e
commit 96ca08bcfa

View File

@@ -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