From 27e6a0e86cf4f36584bdc9585a4277d929f11f4f Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Sat, 25 Nov 2023 12:35:36 +0300 Subject: [PATCH] [MISSED MIRROR] Fixes hallucination destroy runtime (#814) Fixes hallucination destroy runtime (#70512) Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: ShizCalev --- 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 a48b3854b08..9e23a656802 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)