From d210f02f52dc2e367fb9c62fd6b0c3edf35c0f74 Mon Sep 17 00:00:00 2001 From: Markolie Date: Tue, 1 Sep 2015 00:57:18 +0200 Subject: [PATCH] Add logging to client-side reboot functionality --- code/world.dm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/world.dm b/code/world.dm index d2777f5d5f6..e5b158cbc7c 100644 --- a/code/world.dm +++ b/code/world.dm @@ -211,12 +211,11 @@ var/world_topic_spam_protect_time = world.timeofday return show_player_info_irc(input["notes"]) - - - - /world/Reboot(var/reason, var/feedback_c, var/feedback_r, var/time) if (reason == 1) //special reboot, do none of the normal stuff + if(usr) + message_admins("[key_name_admin(usr)] has requested an immediate world restart via client side debugging tools") + log_admin("[key_name(usr)] has requested an immediate world restart via client side debugging tools") spawn(0) world << "Rebooting world immediately due to host request" return ..(1)