Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into definecrusade

This commit is contained in:
Chinsky
2015-06-05 13:24:03 +03:00
17 changed files with 74 additions and 91 deletions

View File

@@ -85,14 +85,8 @@ var/list/delayed_garbage = list()
/proc/qdel(var/datum/A)
if(!A)
return
if(istype(A, /list))
var/list/L = A
for(var/E in L)
qdel(E)
return
if(!istype(A))
//warning("qdel() passed object of type [A.type]. qdel() can only handle /datum types.")
warning("qdel() passed object of type [A.type]. qdel() can only handle /datum types.")
del(A)
if(garbage_collector)
garbage_collector.dels++