mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 08:39:12 +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,6 +48,10 @@
|
||||
matter = material.get_matter()
|
||||
update_strings()
|
||||
|
||||
/obj/item/stack/material/Destroy()
|
||||
material = null
|
||||
. = ..()
|
||||
|
||||
/obj/item/stack/material/get_material()
|
||||
return material
|
||||
|
||||
|
||||
Reference in New Issue
Block a user