mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
Implements TGS3 API (#4800)
Since TGS3 is much-much-muuuuch gooder than my Python server monitor, it will be worth migrating there.
This commit is contained in:
@@ -124,7 +124,7 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
|
||||
msg = "The [BadBoy.name] subsystem seems to be destabilizing the MC and will be offlined."
|
||||
BadBoy.flags |= SS_NO_FIRE
|
||||
if(msg)
|
||||
admin_notice("<span class='danger'>[msg]</span>", R_DEBUG | R_DEV)
|
||||
admin_notice("<span class='danger'>[msg]</span>", R_DEBUG | R_DEV)
|
||||
log_mc(msg)
|
||||
|
||||
if (istype(Master.subsystems))
|
||||
@@ -180,8 +180,12 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
|
||||
#ifndef UNIT_TEST
|
||||
world.sleep_offline = 1
|
||||
#endif
|
||||
|
||||
world.TgsInitializationComplete()
|
||||
world.tick_lag = config.Ticklag
|
||||
|
||||
var/initialized_tod = REALTIMEOFDAY
|
||||
|
||||
sleep(1)
|
||||
initializations_finished_with_no_players_logged_in = initialized_tod < REALTIMEOFDAY - 10
|
||||
// Loop.
|
||||
@@ -440,7 +444,7 @@ var/CURRENT_TICKLIMIT = TICK_LIMIT_RUNNING
|
||||
if (!(queue_node_flags & SS_TICKER))
|
||||
ran_non_ticker = TRUE
|
||||
ran = TRUE
|
||||
|
||||
|
||||
queue_node_paused = (queue_node.state == SS_PAUSED || queue_node.state == SS_PAUSING)
|
||||
last_type_processed = queue_node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user