From 3066f32215fd75d22b36c78a280de7edf6162c41 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 17 Jul 2017 02:53:00 -0500 Subject: [PATCH] Improves drone detonation logging (#2037) --- code/game/machinery/computer/robot.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/computer/robot.dm b/code/game/machinery/computer/robot.dm index 79d6aa0b52..f3cc355f61 100644 --- a/code/game/machinery/computer/robot.dm +++ b/code/game/machinery/computer/robot.dm @@ -162,11 +162,15 @@ if(D.hacked) to_chat(usr, "ERROR: [D] is not responding to external commands.") else + var/turf/T = get_turf(D) + message_admins("[ADMIN_LOOKUPFLW(usr)] detonated [key_name_admin(D)][ADMIN_JMP(T)]!") + log_game("[key_name(usr)] detonated [key_name(D)]!") var/datum/effect_system/spark_spread/s = new /datum/effect_system/spark_spread s.set_up(3, 1, D) s.start() D.visible_message("\the [D] self destructs!") D.gib() + src.updateUsrDialog() return