mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-09 15:20:03 +01:00
The 515 MegaPR early downport (#7783)
Co-authored-by: Selis <selis@xynolabs.com> Co-authored-by: Selis <sirlionfur@hotmail.de> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: SatinIsle <thesatinisle@gmail.com> Co-authored-by: Heroman <alesha3000@list.ru> Co-authored-by: Casey <a.roaming.shadow@gmail.com> Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
|
||||
/obj/item/weapon/paper/sticky/Initialize()
|
||||
. = ..()
|
||||
GLOB.moved_event.register(src, src, /obj/item/weapon/paper/sticky/proc/reset_persistence_tracking)
|
||||
RegisterSignal(src, COMSIG_OBSERVER_MOVED, /obj/item/weapon/paper/sticky/proc/reset_persistence_tracking)
|
||||
|
||||
/obj/item/weapon/paper/sticky/proc/reset_persistence_tracking()
|
||||
SSpersistence.forget_value(src, /datum/persistent/paper/sticky)
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
/obj/item/weapon/paper/sticky/Destroy()
|
||||
reset_persistence_tracking()
|
||||
GLOB.moved_event.unregister(src, src)
|
||||
UnregisterSignal(src, COMSIG_OBSERVER_MOVED)
|
||||
. = ..()
|
||||
|
||||
/obj/item/weapon/paper/sticky/update_icon()
|
||||
@@ -149,4 +149,4 @@
|
||||
if(dir_offset & NORTH)
|
||||
pixel_y += 32
|
||||
else if(dir_offset & SOUTH)
|
||||
pixel_y -= 32
|
||||
pixel_y -= 32
|
||||
|
||||
Reference in New Issue
Block a user