makes morph spells GC properly (#20290)

* makes morph spells GC properly

* ryan's request
This commit is contained in:
GDN
2023-02-04 19:01:16 -06:00
committed by GitHub
parent 34f9d2dc30
commit 61995a6875
@@ -65,6 +65,12 @@
pass_airlock_spell = new
AddSpell(pass_airlock_spell)
/mob/living/simple_animal/hostile/morph/Destroy()
QDEL_NULL(mimic_spell)
QDEL_NULL(ambush_spell)
QDEL_NULL(pass_airlock_spell)
return ..()
/mob/living/simple_animal/hostile/morph/Stat(Name, Value)
..()
if(statpanel("Status"))