mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[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:
co-authored by
LemonInTheDark
Giz
parent
5ead586c66
commit
25fb2e098b
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user