Skip to content

Commit

Permalink
[MIRROR] Fixes Obsessed Moodlets Not Going Away When They Lose The Tr…
Browse files Browse the repository at this point in the history
…auma [MDB IGNORE] (#24669) (#351)

* Fixes Obsessed Moodlets Not Going Away When They Lose The Trauma (#79295)

Adds a clear_mood_event proc to obsessed's on_lose so that the mood
event goes away.

* Fixes Obsessed Moodlets Not Going Away When They Lose The Trauma

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Jackraxxus <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2023
1 parent 2d44510 commit 23cd352
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/datums/brain_damage/creepy_trauma.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
/datum/brain_trauma/special/obsessed/on_lose()
..()
owner.mind.remove_antag_datum(/datum/antagonist/obsessed)
owner.clear_mood_event("creeping")
if(obsession)
UnregisterSignal(obsession, COMSIG_MOB_EYECONTACT)

Expand Down

0 comments on commit 23cd352

Please sign in to comment.