diff --git a/code/controllers/subsystem/garbage.dm b/code/controllers/subsystem/garbage.dm index d20fdd2e922ea..0709ffe3c9bf3 100644 --- a/code/controllers/subsystem/garbage.dm +++ b/code/controllers/subsystem/garbage.dm @@ -166,7 +166,7 @@ var/datum/subsystem/garbage_collector/SSgarbage return FALSE if(D.gc_destroyed) return TRUE - if(SSgarbage && tobequeued && tobequeued.len && D in tobequeued) + if(SSgarbage && SSgarbage.tobequeued && SSgarbage.tobequeued.len && D in SSgarbage.tobequeued) return TRUE return FALSE