Adds error on qdeling callback, fixes errors this causes (#77850)

## About The Pull Request

You shouldn't ever qdel a callback. If you don't want to own it free
your ref (remove it from a list/set it to null). When all refs are
cleared it'll get cleaned up by byond itself
This commit is contained in:
LemonInTheDark
2023-08-22 21:32:30 -05:00
committed by GitHub
parent a77ec399d9
commit ed0999e4ea
29 changed files with 64 additions and 64 deletions
+1 -1
View File
@@ -110,7 +110,7 @@
/datum/component/singularity/Destroy(force, silent)
GLOB.singularities -= src
QDEL_NULL(consume_callback)
consume_callback = null
target = null
return ..()