Skip to content

Commit

Permalink
[MISSED MIRROR] Fixes hallucination destroy runtime (#814)
Browse files Browse the repository at this point in the history
Fixes hallucination destroy runtime (#70512)

Co-authored-by: Bloop <[email protected]>
Co-authored-by: ShizCalev <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2023
1 parent 3fe6734 commit 27e6a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/hallucination/_hallucination.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 27e6a0e

Please sign in to comment.