Initial GC fixes/tweaks/cleanup/documenting

This commit is contained in:
Krausus
2015-06-27 01:56:57 -04:00
parent 4d9baf9936
commit b386cec388
19 changed files with 444 additions and 285 deletions

View File

@@ -31,7 +31,7 @@ datum/updateQueueWorker/proc/doWork()
var/datum/object = objects[objects.len] // Pull out the object
objects.len-- // Remove the object from the list
if (istype(object) && !isturf(object) && !object.disposed && isnull(object.gcDestroyed)) // We only work with real objects
if (istype(object) && !isturf(object) && isnull(object.gcDestroyed)) // We only work with real objects
call(object, procName)(arglist(arguments))
// If there's nothing left to execute