Update cleanup.dm

This commit is contained in:
SteelSlayer
2020-09-12 17:46:57 -05:00
parent eebc369704
commit 7f4f4c7328
+1 -1
View File
@@ -22,7 +22,6 @@ SUBSYSTEM_DEF(cleanup)
var/list/lists_to_clean
/datum/controller/subsystem/cleanup/Initialize(start_timeofday)
. = ..()
// If you want this subsystem to clean out nulls from a specific list, add it here.
lists_to_clean = list(
GLOB.clients = "clients",
@@ -33,6 +32,7 @@ SUBSYSTEM_DEF(cleanup)
GLOB.human_list = "human_list",
GLOB.carbon_list = "carbon_list"
)
return ..()
/datum/controller/subsystem/cleanup/fire(resumed)
for(var/L in lists_to_clean)