Garbage Collect Everything

This commit is contained in:
Fox-McCloud
2015-10-13 20:23:26 -04:00
parent 092185e47b
commit e60edf9345
10 changed files with 14 additions and 27 deletions
+2 -3
View File
@@ -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