[MIRROR] fixes stack memleaks (#11598)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-09 22:10:42 -04:00
committed by GitHub
co-authored by Kashargul Cameron Lennox
parent fbcdce2cc6
commit 6fcd225bfa
19 changed files with 118 additions and 47 deletions
-2
View File
@@ -48,8 +48,6 @@
AddElement(/datum/element/sellable/material_stack)
/obj/item/stack/Destroy()
if(uses_charge)
return 1
if (src && usr && usr.machine == src)
usr << browse(null, "window=stack")
if(islist(synths))
+1 -1
View File
@@ -69,7 +69,7 @@ var/list/RMS_random_malfunction = list(/obj/item/fbp_backup_cell,
spark_system.attach(src)
add_overlay("rms_charge[charge_stage]")
/obj/item/pipe_dispenser/Destroy()
/obj/item/rms/Destroy()
QDEL_NULL(spark_system)
return ..()