Switches around turf/datum garbage handling (my fault..). Adds null check for zone rebuilds.

This commit is contained in:
PsiOmega
2015-04-16 13:52:40 +02:00
parent d381eb6083
commit 1daf0abe3d
4 changed files with 270 additions and 261 deletions

View File

@@ -85,10 +85,10 @@ var/datum/controller/process/garbage_collector/garbage_collector
A.finalize_qdel()
/datum/proc/finalize_qdel()
del(src)
garbage_collector.AddTrash(src)
/turf/finalize_qdel()
garbage_collector.AddTrash(src)
del(src)
// Default implementation of clean-up code.
// This should be overridden to remove all references pointing to the object being destroyed.