mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 00:27:31 +01:00
use SIGNAL_HANDLER REEEEEE (#59242)
makes as many procs as i can find use the SIGNAL_HANDLER define which i assumed they all already did
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
* Cleans up behavior for when the attached item is deleted or removed.
|
||||
*/
|
||||
/obj/structure/training_machine/proc/on_attached_delete()
|
||||
SIGNAL_HANDLER
|
||||
UnregisterSignal(attached_item, COMSIG_PARENT_QDELETING)
|
||||
vis_contents -= attached_item
|
||||
attached_item = null
|
||||
|
||||
Reference in New Issue
Block a user