[MIRROR] Adds error on qdeling callback, fixes errors this causes [MDB IGNORE] (#23271)

* 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

* Adds error on qdeling callback, fixes errors this causes

* Update cell_component.dm

* Update acid.dm

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-08-23 04:43:34 -04:00
committed by GitHub
co-authored by LemonInTheDark Giz
parent 5ead586c66
commit 25fb2e098b
31 changed files with 66 additions and 66 deletions
@@ -372,7 +372,7 @@
/mob/living/basic/pet/dog/corgi/ian/Destroy()
LAZYREMOVE(SSticker.round_end_events, i_will_survive) //cleanup the survival callback
QDEL_NULL(i_will_survive)
i_will_survive = null
return ..()
/mob/living/basic/pet/dog/corgi/ian/death()