mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 23:29:10 +01:00
[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:
co-authored by
Kashargul
Cameron Lennox
parent
fbcdce2cc6
commit
6fcd225bfa
@@ -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