From 7feb67327972ad3088b43bf34a90833c4b06fa3b Mon Sep 17 00:00:00 2001 From: Katherine Kiefer Date: Tue, 12 Mar 2024 15:38:49 +1100 Subject: [PATCH] sorted the wrong thing --- code/controllers/master.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/controllers/master.dm b/code/controllers/master.dm index 8a1314edac..de94b27e77 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -209,9 +209,7 @@ GLOBAL_REAL(Master, /datum/controller/master) = new for (var/datum/controller/subsystem/SS in subsystems) if (SS.flags & SS_NO_INIT || SS.initialized) //Don't init SSs with the correspondig flag or if they already are initialzized continue - log_world("Initializing [SS]") SS.Initialize(REALTIMEOFDAY) - log_world("Initialized [SS]") CHECK_TICK current_ticklimit = TICK_LIMIT_RUNNING var/time = (REALTIMEOFDAY - start_timeofday) / 10 @@ -311,7 +309,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, GLOBAL_PROC_REF(cmp_subsystem_priority)) for(var/I in runlevel_sorted_subsystems) - sortTim(runlevel_sorted_subsystems, GLOBAL_PROC_REF(cmp_subsystem_priority)) + sortTim(I, GLOBAL_PROC_REF(cmp_subsystem_priority)) I += tickersubsystems var/cached_runlevel = current_runlevel