fixes stack memleaks (#18395)

* fixes stack memleaks

* .

* more

* .

* .

* urg

* urg

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* cklear laws

* Update vending.dm

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-09-10 03:58:48 +02:00
committed by GitHub
parent d638564b3b
commit 84abdbaede
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 ..()