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>
This commit is contained in:
LemonInTheDark
2021-05-26 14:22:53 -07:00
committed by GitHub
co-authored by Kylerace
parent 25927d42c6
commit 29de629db9
6 changed files with 15 additions and 3 deletions
+2
View File
@@ -148,6 +148,8 @@ GLOBAL_LIST_INIT(hallucination_list, list(
/obj/effect/hallucination/simple/Moved(atom/OldLoc, Dir)
. = ..()
if(!loc)
return
Show()
/obj/effect/hallucination/simple/Destroy()