From 3c03a71107e842e12a2ece72c79299bf5064d13d Mon Sep 17 00:00:00 2001 From: Leshana Date: Sun, 23 Feb 2020 00:42:56 -0500 Subject: [PATCH] Investigate what causes us to bail out early when timer system breaks. --- code/controllers/subsystems/timer.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystems/timer.dm b/code/controllers/subsystems/timer.dm index 2fe2acdec76..bf68a1445f8 100644 --- a/code/controllers/subsystems/timer.dm +++ b/code/controllers/subsystems/timer.dm @@ -104,8 +104,9 @@ SUBSYSTEM_DEF(timer) if (next_clienttime_timer_index) clienttime_timers.Cut(1, next_clienttime_timer_index+1) + var/pre_state = src.state if (MC_TICK_CHECK) - log_world("Timer bailing before execution at world.time=[world.time] with last_invoke_tick=[last_invoke_tick]") // VOREStation Edit - Debugging + log_world("Timer bailing before execution at world.time=[world.time] with LIT=[last_invoke_tick], TICK_USAGE=[TICK_USAGE], current_ticklimit=[Master.current_ticklimit], state=[pre_state] -> [src.state], queued_priority=[queued_priority] tick_overrun=[tick_overrun]") // VOREStation Edit - Debugging return var/static/list/spent = list()