mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
Garbage Collect Everything
This commit is contained in:
@@ -602,12 +602,11 @@ atom/proc/create_reagents(var/max_vol)
|
||||
reagents.my_atom = src
|
||||
|
||||
/datum/reagents/Destroy()
|
||||
..()
|
||||
. = ..()
|
||||
processing_objects.Remove(src)
|
||||
for(var/datum/reagent/R in reagent_list)
|
||||
qdel(R)
|
||||
reagent_list.Cut()
|
||||
reagent_list = null
|
||||
if(my_atom && my_atom.reagents == src)
|
||||
my_atom.reagents = null
|
||||
return QDEL_HINT_QUEUE
|
||||
my_atom.reagents = null
|
||||
@@ -76,6 +76,5 @@
|
||||
return
|
||||
|
||||
/datum/reagent/Destroy()
|
||||
..()
|
||||
holder = null
|
||||
return QDEL_HINT_QUEUE
|
||||
. = ..()
|
||||
holder = null
|
||||
Reference in New Issue
Block a user