Even More Misc HardDels (#22299)

Just a few more misc hard dels I found from the logs today. Not counting
the event round which inexplicably had hundreds of them.
This commit is contained in:
VMSolidus
2026-04-20 07:31:39 -04:00
committed by GitHub
parent 5b2199ae97
commit 8df12c8e29
6 changed files with 39 additions and 2 deletions
+12 -2
View File
@@ -66,6 +66,16 @@
var/can_change_icon_state = TRUE
var/set_unsafe_on_init = FALSE
/obj/item/paper/Destroy()
info = null
info_links = null
stamps = null
ico = null
offset_x = null
offset_y = null
stamped = null
return ..()
/obj/item/paper/feedback_hints(mob/user, distance, is_adjacent)
. += ..()
if (old_name && (icon_state == "paper_plane" || icon_state == "paper_swan"))
@@ -91,7 +101,7 @@
if (mapload)
update_icon()
else
addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_icon)), 1)
addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, update_icon)), 1, TIMER_STOPPABLE | TIMER_DELETE_ME)
/obj/item/paper/proc/set_content(title, text)
if(title)
@@ -442,7 +452,7 @@
else
flick("paper_onfire", src)
addtimer(CALLBACK(src, PROC_REF(burnpaper_callback), P, user, class), 20, TIMER_UNIQUE)
addtimer(CALLBACK(src, PROC_REF(burnpaper_callback), P, user, class), 20, TIMER_UNIQUE | TIMER_STOPPABLE | TIMER_DELETE_ME)
/obj/item/paper/proc/burnpaper_callback(obj/item/P, mob/user, class = "warning")
if (QDELETED(user) || QDELETED(src))
+5
View File
@@ -23,6 +23,11 @@
drop_sound = 'sound/items/drop/paper.ogg'
pickup_sound = 'sound/items/pickup/paper.ogg'
/obj/item/paper_bundle/Destroy()
pages.Cut()
pages = null
return ..()
/obj/item/paper_bundle/mechanics_hints(mob/user, distance, is_adjacent)
. += ..()
. += "Both papers and photos can be added to a paper bundle."