From cfc6e19aef96865c9028baa1812bb80e13e7208e Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Thu, 7 Sep 2023 05:12:43 -0500 Subject: [PATCH] fixes people not being unbuckled from stuff if they're being pulled (#22209) * fixes people not being unbuckled from stuff if they're being pulled * could come up * Update code/modules/mob/mob_movement.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --- code/modules/mob/mob_movement.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index ee7c2136362..206c93a1fbe 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -370,12 +370,11 @@ var/mob/M = pulling var/atom/movable/t = M.pulling M.stop_pulling() - step(pulling, get_dir(pulling.loc, A)) + . = step(pulling, get_dir(pulling.loc, A)) // we set the return value to step here, if we don't having someone buckled in to a chair and being pulled won't let them be unbuckeled if(M) M.start_pulling(t) else - step(pulling, get_dir(pulling.loc, A)) - return TRUE + . = step(pulling, get_dir(pulling.loc, A)) /mob/proc/update_gravity(has_gravity) return