mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
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:
@@ -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))
|
||||
|
||||
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user