From 60f86ea2ff3ee072e7d3fccc97f349a37bb76ec7 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Wed, 17 Jun 2020 17:05:42 -0400 Subject: [PATCH] Add handler for TGS_EVENT_WATCHDOG_SHUTDOWN (#51665) * Add handler for TGS_EVENT_WATCHDOG_SHUTDOWN Thought I did this... * speling * Gotta go fast --- code/datums/tgs_event_handler.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/tgs_event_handler.dm b/code/datums/tgs_event_handler.dm index 21b964acb1b..3979164b4b6 100644 --- a/code/datums/tgs_event_handler.dm +++ b/code/datums/tgs_event_handler.dm @@ -34,6 +34,8 @@ if(reattach_timer) deltimer(reattach_timer) reattach_timer = null + if(TGS_EVENT_WATCHDOG_SHUTDOWN) + to_chat_immediate(world, "Server is shutting down!") /datum/tgs_event_handler/impl/proc/LateOnReattach() message_admins("Warning: TGS hasn't notified us of it coming back for a full minute! Is there a problem?")