[MIRROR] some more grep checks (#11414)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-14 11:22:06 -07:00
committed by GitHub
parent 83133252b1
commit f46d700e64
68 changed files with 136 additions and 122 deletions

View File

@@ -29,7 +29,7 @@
unregister_dangerous_to_step()
if(trap)
QDEL_NULL(trap)
qdel_null(wires)
QDEL_NULL(wires)
return ..()
/obj/effect/mine/Moved(atom/oldloc)

View File

@@ -148,6 +148,6 @@
return QDEL_HINT_LETMELIVE
vis_contents.Cut()
qdel_null(light_spot)
QDEL_NULL(light_spot)
return ..()

View File

@@ -41,7 +41,7 @@
else
reset_search()
UnregisterSignal(Q, COMSIG_GHOST_QUERY_COMPLETE)
qdel_null(Q) //get rid of the query
QDEL_NULL(Q) //get rid of the query
return
/obj/item/antag_spawner/proc/reset_search()

View File

@@ -361,7 +361,7 @@
/mob/observer/dead/Destroy()
if(exonet)
exonet.remove_address()
qdel_null(exonet)
QDEL_NULL(exonet)
. = ..()
// Proc: register_device()

View File

@@ -47,7 +47,7 @@
/obj/item/flashlight/Destroy()
STOP_PROCESSING(SSobj, src)
qdel_null(cell)
QDEL_NULL(cell)
return ..()
/obj/item/flashlight/get_cell()

View File

@@ -37,7 +37,7 @@
cell = new cell(src)
/obj/item/suit_cooling_unit/Destroy()
qdel_null(cell)
QDEL_NULL(cell)
return ..()
/obj/item/suit_cooling_unit/process()

View File

@@ -57,8 +57,8 @@
ion_trail.stop()
/obj/item/uav/Destroy()
qdel_null(cell)
qdel_null(ion_trail)
QDEL_NULL(cell)
QDEL_NULL(ion_trail)
LAZYCLEARLIST(masters)
STOP_PROCESSING(SSobj, src)
return ..()

View File

@@ -70,7 +70,7 @@ var/list/RMS_random_malfunction = list(/obj/item/fbp_backup_cell,
add_overlay("rms_charge[charge_stage]")
/obj/item/pipe_dispenser/Destroy()
qdel_null(spark_system)
QDEL_NULL(spark_system)
return ..()
/obj/item/rms/update_icon()

View File

@@ -60,8 +60,8 @@
recipe = first_atmos
/obj/item/pipe_dispenser/Destroy()
qdel_null(spark_system)
qdel_null(tool)
QDEL_NULL(spark_system)
QDEL_NULL(tool)
return ..()
/obj/item/pipe_dispenser/attack_self(mob/user)

View File

@@ -73,7 +73,7 @@
update_icon()
/obj/structure/closet/Destroy()
qdel_null(door_obj)
QDEL_NULL(door_obj)
closet_appearance = null
return ..()

View File

@@ -18,7 +18,11 @@
if(A)
A.forceMove(src) // helo
podfall(auto_open)
air = new(1000)
air = new
/obj/structure/drop_pod/Destroy()
. = ..()
QDEL_NULL(air)
/obj/structure/drop_pod/proc/podfall(auto_open)
var/turf/T = get_turf(src)
@@ -101,7 +105,7 @@
for(var/atom/movable/AM in src)
AM.forceMove(loc)
AM.set_dir(SOUTH) // cus
qdel_null(air)
QDEL_NULL(air)
finished = TRUE
/obj/structure/drop_pod/attack_hand(mob/living/user)

View File

@@ -44,7 +44,7 @@
if(delay_to_try_again)
addtimer(CALLBACK(src, PROC_REF(trigger)), delay_to_try_again)
UnregisterSignal(Q, COMSIG_GHOST_QUERY_COMPLETE)
qdel_null(Q) //get rid of the query
QDEL_NULL(Q) //get rid of the query
if(deletion_candidate)
qdel(src)

View File

@@ -227,7 +227,7 @@ GLOBAL_LIST_BOILERPLATE(all_crematoriums, /obj/structure/morgue/crematorium)
if (!( A.anchored ))
A.forceMove(src)
playsound(src, 'sound/items/Deconstruct.ogg', 50, 1)
qdel_null(connected)
QDEL_NULL(connected)
else if (src.locked == 0)
playsound(src, 'sound/items/Deconstruct.ogg', 50, 1)
src.connected = new /obj/structure/m_tray/c_tray( src.loc )
@@ -241,7 +241,7 @@ GLOBAL_LIST_BOILERPLATE(all_crematoriums, /obj/structure/morgue/crematorium)
A.forceMove(src.connected.loc)
src.connected.icon_state = "cremat"
else
qdel_null(connected)
QDEL_NULL(connected)
src.add_fingerprint(user)
update()

View File

@@ -17,7 +17,7 @@
return GM
/obj/distilling_tester/proc/test_distilling(var/decl/chemical_reaction/distilling/D, var/temp_prog)
qdel_swap(GM,new())
QDEL_SWAP(GM,new())
if(D.require_xgm_gas)
GM.gas[D.require_xgm_gas] = 100
else
@@ -34,5 +34,5 @@
reagents.handle_reactions()
/obj/distilling_tester/Destroy(force, ...)
qdel_null(GM)
QDEL_NULL(GM)
. = ..()