mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 08:27:13 +01:00
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:
@@ -87,6 +87,14 @@
|
||||
QDEL_NULL(assembly)
|
||||
|
||||
cancelCameraAlarm(force = TRUE)
|
||||
cancelAlarm()
|
||||
|
||||
for(var/mob/target in motionTargets.Copy())
|
||||
lostTarget(target)
|
||||
|
||||
if(area_motion && area_motion.motioncamera == src)
|
||||
area_motion.motioncamera = null
|
||||
area_motion = null
|
||||
|
||||
QDEL_NULL(wires)
|
||||
|
||||
|
||||
@@ -159,6 +159,10 @@
|
||||
if(stasis_power)
|
||||
C.stasis_power = stasis_power
|
||||
|
||||
/obj/item/bodybag/cryobag/Destroy()
|
||||
color = null
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/body_bag/cryobag
|
||||
name = "stasis bag"
|
||||
desc = "A reusable plastic bag designed to prevent additional damage to an occupant, especially useful if short on time or in \
|
||||
@@ -195,6 +199,7 @@
|
||||
/obj/structure/closet/body_bag/cryobag/Destroy()
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
QDEL_NULL(airtank)
|
||||
overlays.Cut()
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/body_bag/cryobag/Entered(atom/movable/AM)
|
||||
|
||||
@@ -67,6 +67,11 @@
|
||||
. = ..()
|
||||
update_state()
|
||||
|
||||
/obj/structure/door_assembly/Destroy()
|
||||
electronics = null
|
||||
created_name = null
|
||||
return ..()
|
||||
|
||||
/obj/structure/door_assembly/door_assembly_generic
|
||||
base_name = "airlock"
|
||||
airlock_type = /obj/machinery/door/airlock
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: Hellfirejag
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Some more fixes for a variety of hard dels.."
|
||||
Reference in New Issue
Block a user