Standardizes subsystem Shutdown order

This commit is contained in:
Cyberboss
2017-04-14 19:03:09 -04:00
parent b076895ebb
commit 652a655e29
2 changed files with 2 additions and 2 deletions

View File

@@ -80,6 +80,8 @@ GLOBAL_VAR_INIT(CURRENT_TICKLIMIT, TICK_LIMIT_RUNNING)
/datum/controller/master/Shutdown()
processing = FALSE
sortTim(subsystems, /proc/cmp_subsystem_init)
subsystems = reverselist(subsystems)
for(var/datum/controller/subsystem/ss in subsystems)
ss.Shutdown()