Merge pull request #443 from Citadel-Station-13/upstream-merge-26331

[MIRROR] fixes the garbage subsystem not working, at all.
This commit is contained in:
LetterJay
2017-04-18 01:15:04 -05:00
committed by GitHub
+1 -1
View File
@@ -140,7 +140,7 @@ SUBSYSTEM_DEF(garbage)
A.gc_destroyed = GC_QUEUED_FOR_QUEUING
/datum/controller/subsystem/garbage/proc/Queue(datum/A)
if (!isnull(A) || (!isnull(A.gc_destroyed) && A.gc_destroyed >= 0))
if (isnull(A) || (!isnull(A.gc_destroyed) && A.gc_destroyed >= 0))
return
if (A.gc_destroyed == GC_QUEUED_FOR_HARD_DEL)
HardDelete(A)