Fixes some bugs. (#16854)

* Fixes some bugs.

* d

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-07-23 17:03:42 +00:00
committed by GitHub
co-authored by Matt Atlas
parent bc6187cb5c
commit 87cf9d7ab7
6 changed files with 146 additions and 73 deletions
+4 -1
View File
@@ -809,7 +809,10 @@
qdel(src)
/atom/movable/z_observer/z_down/follow()
forceMove(get_step(tile_shifted ? src : owner, DOWN))
var/turf/down_step = get_step(tile_shifted ? src : owner, DOWN)
/// If we move down more than 1 step, don't move down again.
if((GET_Z(owner) - down_step.z) < 2)
forceMove(down_step)
var/turf/T = get_turf(tile_shifted ? get_step(owner, owner.dir) : owner)
if(T && TURF_IS_MIMICING(T))
return