[MIRROR] Fix a subsystem priority sort [MDB IGNORE] (#14983)

* Fix a subsystem priority sort (#68490)

* Fix a subsystem priority sort

Co-authored-by: wixoa <wixoag@gmail.com>
This commit is contained in:
SkyratBot
2022-07-17 23:47:20 +01:00
committed by GitHub
co-authored by wixoa
parent a0ae63c7a4
commit ddb16992d9
+1 -1
View File
@@ -356,7 +356,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