mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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:
@@ -110,7 +110,7 @@
|
||||
|
||||
/datum/component/singularity/Destroy(force, silent)
|
||||
GLOB.singularities -= src
|
||||
QDEL_NULL(consume_callback)
|
||||
consume_callback = null
|
||||
target = null
|
||||
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user