Fix railing clipping with flight

This commit is contained in:
Aronai Sieyes
2021-07-10 20:00:18 -04:00
parent 901b4aad3c
commit 4e9a7f1003
+3 -1
View File
@@ -77,7 +77,9 @@
M.Weaken(2)
M.stop_flying()
if(get_turf(M) == get_turf(src))
M.forceMove(get_step(src, src.dir))
var/turf/T = get_step(src, src.dir)
if(T?.Enter(M, get_turf(src)))
M.forceMove(T)
else
M.forceMove(get_turf(src))