Fix a subsystem priority sort (#18426)

This commit is contained in:
ike709
2022-07-18 10:36:56 +01:00
committed by GitHub
parent cebd76bdcb
commit bc4639b8f9
+1 -1
View File
@@ -296,7 +296,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