[MIRROR] Signal fixes (#12141)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-12-20 03:47:14 -05:00
committed by GitHub
co-authored by Cameron Lennox
parent 2a384412a4
commit 0c29c5df9a
31 changed files with 72 additions and 72 deletions
+2 -2
View File
@@ -98,7 +98,7 @@
/obj/item/paper/sticky/Initialize(mapload)
. = ..()
AddComponent(/datum/component/recursive_move)
RegisterSignal(src, COMSIG_MOVABLE_MOVED, /obj/item/paper/sticky/proc/reset_persistence_tracking)
RegisterSignal(src, COMSIG_MOVABLE_ATTEMPTED_MOVE, /obj/item/paper/sticky/proc/reset_persistence_tracking)
/obj/item/paper/sticky/proc/reset_persistence_tracking()
SIGNAL_HANDLER
@@ -108,7 +108,7 @@
/obj/item/paper/sticky/Destroy()
reset_persistence_tracking()
UnregisterSignal(src, COMSIG_MOVABLE_MOVED)
UnregisterSignal(src, COMSIG_MOVABLE_ATTEMPTED_MOVE)
. = ..()
/obj/item/paper/sticky/update_icon()