mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
makes morph spells GC properly (#20290)
* makes morph spells GC properly * ryan's request
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user