runtime fix

This commit is contained in:
DeltaFire
2020-11-14 17:36:13 +01:00
parent e8bd56a92d
commit 4dcb7a4a96
+1 -1
View File
@@ -142,7 +142,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
Show()
/obj/effect/hallucination/simple/Destroy()
if(target.client)
if(target && target.client)
target.client.images.Remove(current_image)
active = FALSE
return ..()