From 7d47ca37ceb78bf6e338944918f225eee214827c Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Sat, 15 Oct 2022 01:21:03 -0400 Subject: [PATCH] Fixes hallucination destroy runtime (#70512) --- code/modules/hallucination/_hallucination.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/hallucination/_hallucination.dm b/code/modules/hallucination/_hallucination.dm index d193adbf27a..6452d1a415b 100644 --- a/code/modules/hallucination/_hallucination.dm +++ b/code/modules/hallucination/_hallucination.dm @@ -137,7 +137,7 @@ /obj/effect/client_image_holder/on_changed_z_level(turf/old_turf, turf/new_turf, same_z_layer, notify_contents) . = ..() - if(same_z_layer) + if(QDELETED(src) || same_z_layer) return SET_PLANE(shown_image, PLANE_TO_TRUE(shown_image.plane), new_turf)