From ef6d50b5c4f0eca9f43b9e68e2e40bfddc81b61c Mon Sep 17 00:00:00 2001 From: Chinsky Date: Thu, 8 Nov 2012 15:44:34 +0400 Subject: [PATCH] Added logging of status screen text change. --- code/game/machinery/computer/communications.dm | 2 ++ code/game/objects/items/devices/PDA/cart.dm | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index 17c5ebcbb0..805f8a404d 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -540,6 +540,8 @@ if("message") status_signal.data["msg1"] = data1 status_signal.data["msg2"] = data2 + log_admin("STATUS: [src.fingerprintslast] set status screen message with [src]: [data1] [data2]") + message_admins("STATUS: [user] set status screen with [PDA]. Message: [data1] [data2]") if("alert") status_signal.data["picture_state"] = data1 diff --git a/code/game/objects/items/devices/PDA/cart.dm b/code/game/objects/items/devices/PDA/cart.dm index 1d6e22611f..c7226331a0 100644 --- a/code/game/objects/items/devices/PDA/cart.dm +++ b/code/game/objects/items/devices/PDA/cart.dm @@ -231,6 +231,14 @@ if("message") status_signal.data["msg1"] = data1 status_signal.data["msg2"] = data2 + if(loc) + var/obj/item/PDA = loc + var/mob/user = PDA.fingerprintslast + if(istype(PDA.loc,/mob/living)) + name = PDA.loc + log_admin("STATUS: [user] set status screen with [PDA]. Message: [data1] [data2]") + message_admins("STATUS: [user] set status screen with [PDA]. Message: [data1] [data2]") + if("alert") status_signal.data["picture_state"] = data1