From ddb16992d9d62df5c064c62ddbad13eb0dcd535d Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 18 Jul 2022 00:47:20 +0200 Subject: [PATCH] [MIRROR] Fix a subsystem priority sort [MDB IGNORE] (#14983) * Fix a subsystem priority sort (#68490) * Fix a subsystem priority sort Co-authored-by: wixoa --- 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 346a63684ef..59b76538b02 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -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