From a69908da37e8ee40d268926cd76810458bbf5e83 Mon Sep 17 00:00:00 2001 From: wixoa Date: Sun, 17 Jul 2022 18:29:30 -0400 Subject: [PATCH] Fix a subsystem priority sort (#68490) --- code/controllers/master.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/master.dm b/code/controllers/master.dm index a3d228709d1..fa1d80fee43 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -354,7 +354,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new //(higher subsystems will be sooner in the queue, adding them later in the loop means we don't have to loop thru them next queue add) sortTim(tickersubsystems, /proc/cmp_subsystem_priority) for(var/I in runlevel_sorted_subsystems) - sortTim(runlevel_sorted_subsystems, /proc/cmp_subsystem_priority) + sortTim(I, /proc/cmp_subsystem_priority) I += tickersubsystems var/cached_runlevel = current_runlevel