mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Debugging code to determine if Master failures actually happen while firing a subsystem.
This commit is contained in:
@@ -50,6 +50,8 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
|
|||||||
|
|
||||||
var/current_runlevel //for scheduling different subsystems for different stages of the round
|
var/current_runlevel //for scheduling different subsystems for different stages of the round
|
||||||
|
|
||||||
|
var/dbg_is_running_subsystem = FALSE // TEMPORARY DEBUGGING - true only while we are actually waiting on a subsystem
|
||||||
|
|
||||||
var/static/restart_clear = 0
|
var/static/restart_clear = 0
|
||||||
var/static/restart_timeout = 0
|
var/static/restart_timeout = 0
|
||||||
var/static/restart_count = 0
|
var/static/restart_count = 0
|
||||||
@@ -474,9 +476,11 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
|
|||||||
|
|
||||||
queue_node.state = SS_RUNNING
|
queue_node.state = SS_RUNNING
|
||||||
|
|
||||||
|
dbg_is_running_subsystem = TRUE // TEMPORARY DEBUGGING
|
||||||
tick_usage = TICK_USAGE
|
tick_usage = TICK_USAGE
|
||||||
var/state = queue_node.ignite(queue_node_paused)
|
var/state = queue_node.ignite(queue_node_paused)
|
||||||
tick_usage = TICK_USAGE - tick_usage
|
tick_usage = TICK_USAGE - tick_usage
|
||||||
|
dbg_is_running_subsystem = FALSE // TEMPORARY DEBUGGING
|
||||||
|
|
||||||
if (state == SS_RUNNING)
|
if (state == SS_RUNNING)
|
||||||
state = SS_IDLE
|
state = SS_IDLE
|
||||||
|
|||||||
Reference in New Issue
Block a user