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
+4
View File
@@ -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