hmmmph
This commit is contained in:
@@ -209,7 +209,9 @@ 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
|
||||
@@ -307,12 +309,6 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
|
||||
queue_tail = null
|
||||
//these sort by lower priorities first to reduce the number of loops needed to add subsequent SS's to the queue
|
||||
//(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)
|
||||
for(var/item in tickersubsystems)
|
||||
WARNING("[tickersubsystems], item: [item]")
|
||||
if(islist(item))
|
||||
for(var/list_item in item)
|
||||
WARNING("[item], item: [list_item]")
|
||||
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user