Adds watchdog debugging

This commit is contained in:
I_VAPE_VOX_CLOACA_EVERY_DAY_OF_MY_LIFE
2019-02-03 00:20:59 -03:00
parent 265120faff
commit 2ad4ffb38d

View File

@@ -12,9 +12,11 @@ var/global/datum/watchdog/watchdog = new
return
if(fexists(update_signal_file) == 1)
waiting=1
testing("[time_stamp()] - Watchdog has detected an update.")
to_chat(world, "<span class='notice'>\[AUTOMATIC ANNOUNCEMENT\] Update received. Server will restart automatically after the round ends.</span>")
/datum/watchdog/proc/signal_ready()
testing("[time_stamp()] - Watchdog has sent the 'ready' signal. Bye!")
var/signal = file(server_signal_file)
fdel(signal)
signal << chosen_map