@@ -348,7 +348,7 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
348348 var /tick_precentage
349349 var /tick_remaining
350350 var /ran = TRUE // this is right
351- var /ran_non_SSticker = FALSE
351+ var /ran_non_ticker = FALSE
352352 var /bg_calc // have we swtiched current_tick_budget to background mode yet?
353353 var /tick_usage
354354
@@ -372,7 +372,7 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
372372 // (unless we haven't even ran anything this tick, since its unlikely they will ever be able run
373373 // in those cases, so we just let them run)
374374 if (queue_node_flags & SS_NO_TICK_CHECK )
375- if (queue_node. tick_usage > TICK_LIMIT_RUNNING - world . tick_usage && ran_non_SSticker )
375+ if (queue_node. tick_usage > TICK_LIMIT_RUNNING - world . tick_usage && ran_non_ticker )
376376 queue_node. queued_priority += queue_priority_count * 0.10
377377 queue_priority_count -= queue_node_priority
378378 queue_priority_count += queue_node. queued_priority
@@ -394,7 +394,7 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
394394 CURRENT_TICKLIMIT = world . tick_usage + tick_precentage
395395
396396 if (! (queue_node_flags & SS_TICKER ))
397- ran_non_SSticker = TRUE
397+ ran_non_ticker = TRUE
398398 ran = TRUE
399399 tick_usage = world . tick_usage
400400 queue_node_paused = (queue_node. state == SS_PAUSED || queue_node. state == SS_PAUSING )
@@ -456,20 +456,20 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
456456
457457// resets the queue, and all subsystems, while filtering out the subsystem lists
458458// called if any mc's queue procs runtime or exit improperly.
459- / datum / controller/ master/ proc / SoftReset( list / SSticker_SS , list / normal_SS, list / lobby_SS)
459+ / datum / controller/ master/ proc / SoftReset( list / ticker_SS , list / normal_SS, list / lobby_SS)
460460 . = 0
461461 log_world (" MC: SoftReset called, resetting MC queue state." )
462- if (! istype(subsystems) || ! istype(SSticker_SS ) || ! istype(normal_SS) || ! istype(lobby_SS))
463- log_world (" MC: SoftReset: Bad list contents: '[ subsystems] ' ' [ SSticker_SS ] ' ' [ normal_SS] ' ' [ lobby_SS] ' Crashing!" )
462+ if (! istype(subsystems) || ! istype(ticker_SS ) || ! istype(normal_SS) || ! istype(lobby_SS))
463+ log_world (" MC: SoftReset: Bad list contents: '[ subsystems] ' ' [ ticker_SS ] ' ' [ normal_SS] ' ' [ lobby_SS] ' Crashing!" )
464464 return
465- var /subsystemstocheck = subsystems + SSticker_SS + normal_SS + lobby_SS
465+ var /subsystemstocheck = subsystems + ticker_SS + normal_SS + lobby_SS
466466
467467 for (var /thing in subsystemstocheck)
468468 var /datum /controller/subsystem/SS = thing
469469 if (! SS || ! istype(SS ))
470470 // list(SS) is so if a list makes it in the subsystem list, we remove the list, not the contents
471471 subsystems -= list (SS )
472- SSticker_SS -= list (SS )
472+ ticker_SS -= list (SS )
473473 normal_SS -= list (SS )
474474 lobby_SS -= list (SS )
475475 log_world (" MC: SoftReset: Found bad entry in subsystem list, '[ SS ] '" )
0 commit comments