Skip to content

Commit

Permalink
Update walls.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Dec 9, 2024
1 parent 011825f commit 7e46641
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/turfs/walls/walls.dm
Original file line number Diff line number Diff line change
Expand Up @@ -619,12 +619,16 @@
shift_pixel_x = 10
if(EAST)
shift_pixel_x = -10
else
return

for(var/mob/living/carbon/human/hiding in hiding_humans)
if(hiding_humans[hiding] == direction)
return

hiding_humans += dropping
hiding_humans[dropping] = direction
hiding_human.Moved() //just to be safe
hiding_human.setDir(direction)
animate(hiding_human, pixel_x = shift_pixel_x, pixel_y = shift_pixel_y, time = 1)
if(direction == NORTH)
Expand Down

0 comments on commit 7e46641

Please sign in to comment.