Fixes stretchers getting caught on wall corners (#25592)

* Fixes stretchers getting caught on wall corners

* Update code/modules/mob/living/living.dm

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
This commit is contained in:
Contrabang
2024-05-28 09:16:09 -04:00
committed by GitHub
parent d46e3a7cf0
commit d43beeccd4
-3
View File
@@ -601,9 +601,6 @@
step_count++
pull_pulled(old_loc, pullee, movetime)
if(pulledby && moving_diagonally != FIRST_DIAG_STEP && get_dist(src, pulledby) > 1) //seperated from our puller and not in the middle of a diagonal move
pulledby.stop_pulling()
if(s_active && !(s_active in contents) && get_turf(s_active) != get_turf(src)) //check !( s_active in contents) first so we hopefully don't have to call get_turf() so much.
s_active.close(src)