mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user