mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] Some associated move fixes (#5977)
* Some associated move fixes (#59299) * Moves the loc assignment for null doMove target locations to before exited() is called, making it consistent with other uses of the proc, and fixing a harddel caused by deleting something inside of an open storage component. The component assumes that the removed object has already exited its contents, and so readds it to the screen, causing PAIN Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com> * Some associated move fixes Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>
This commit is contained in:
co-authored by
Kylerace
LemonInTheDark
parent
e763b62f2f
commit
bd6290a493
@@ -293,6 +293,8 @@
|
||||
|
||||
/obj/structure/table/rolling/Moved(atom/OldLoc, Dir)
|
||||
. = ..()
|
||||
if(!loc)
|
||||
return
|
||||
for(var/mob/living/living_mob in OldLoc.contents)//Kidnap everyone on top
|
||||
living_mob.forceMove(loc)
|
||||
for(var/x in attached_items)
|
||||
|
||||
Reference in New Issue
Block a user