clear some qdel refs (#9401)

This commit is contained in:
Kashargul
2024-11-04 10:28:38 +01:00
committed by GitHub
parent d498911180
commit 42f5283e02
4 changed files with 6 additions and 5 deletions

View File

@@ -372,11 +372,10 @@ var/global/list/obj/item/communicator/all_communicators = list()
// Parameters: None // Parameters: None
// Description: Removes the ghost's address and nulls the exonet datum, to allow qdel()ing. // Description: Removes the ghost's address and nulls the exonet datum, to allow qdel()ing.
/mob/observer/dead/Destroy() /mob/observer/dead/Destroy()
. = ..()
if(exonet) if(exonet)
exonet.remove_address() exonet.remove_address()
qdel_null(exonet) qdel_null(exonet)
return ..() . = ..()
// Proc: register_device() // Proc: register_device()
// Parameters: 1 (user - the person to use their name for) // Parameters: 1 (user - the person to use their name for)

View File

@@ -22,8 +22,9 @@
my_mob = M my_mob = M
/obj/screen/plane_master/augmented/Destroy() /obj/screen/plane_master/augmented/Destroy()
entopic_users -= my_mob
my_mob = null my_mob = null
return ..() . = ..()
/obj/screen/plane_master/augmented/set_visibility(var/want = FALSE) /obj/screen/plane_master/augmented/set_visibility(var/want = FALSE)
. = ..() . = ..()

View File

@@ -116,9 +116,10 @@
return ..() return ..()
/obj/effect/dark/Destroy() /obj/effect/dark/Destroy()
. = ..()
if(linked_node) if(linked_node)
linked_node.children_effects -= src linked_node.children_effects -= src
linked_node = null
. = ..()
/obj/effect/dark/process() /obj/effect/dark/process()
//set background = 1 //set background = 1

View File

@@ -63,7 +63,7 @@
if(istype(linked_belly)) if(istype(linked_belly))
UnregisterSignal(linked_belly, COMSIG_BELLY_UPDATE_VORE_FX) UnregisterSignal(linked_belly, COMSIG_BELLY_UPDATE_VORE_FX)
linked_belly = null linked_belly = null
..() . = ..()
// Sends messages to the owner of the soulcatcher // Sends messages to the owner of the soulcatcher
/obj/soulgem/proc/notify_holder(var/message) /obj/soulgem/proc/notify_holder(var/message)