Skip to content

Commit

Permalink
[MIRROR] [NO GBP] ...Remember to add SIGNAL_HANDLER (#1962) (#2879)
Browse files Browse the repository at this point in the history
* [NO GBP] ...Remember to add SIGNAL_HANDLER (#82630)

## About The Pull Request

Just realized I forgot to add `SIGNAL_HANDLER` to the all-nighter
`on_removed_limb(...)` proc, even though it handles signals.
## Why It's Good For The Game


https://github.com/tgstation/tgstation/blob/fe26373572e41415ec12e2b0785f0c6dc2567577/code/__DEFINES/dcs/helpers.dm#L9-L11

* [NO GBP] ...Remember to add SIGNAL_HANDLER

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: _0Steven <[email protected]>
  • Loading branch information
3 people authored Apr 14, 2024
1 parent 76e9fd6 commit eb82830
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/datums/quirks/negative_quirks/all_nighter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@

///if we have bags and lost a head, remove them
/datum/quirk/all_nighter/proc/on_removed_limb(datum/source, obj/item/bodypart/removed_limb, special, dismembered)
SIGNAL_HANDLER

if(bodypart_overlay && istype(removed_limb, /obj/item/bodypart/head))
remove_bags()

Expand Down

0 comments on commit eb82830

Please sign in to comment.