Skip to content

Commit

Permalink
Ability clwan up when brain deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
Coll6 committed Nov 27, 2024
1 parent 3726697 commit b1fa392
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions monkestation/code/modules/smithing/oozelings/body/organs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@

var/datum/action/cooldown/spell/membrane_murmur/membrane_mur

/obj/item/organ/internal/brain/slime/Destroy(force)
QDEL_NULL(membrane_mur)
return ..()

/obj/item/organ/internal/brain/slime/Initialize(mapload, mob/living/carbon/organ_owner, list/examine_list)
. = ..()
membrane_mur = new /datum/action/cooldown/spell/membrane_murmur()
Expand Down

0 comments on commit b1fa392

Please sign in to comment.