From 3ad906cbff43e1e91d6419234ae862ae1c836b49 Mon Sep 17 00:00:00 2001 From: Ty-Omaha Date: Tue, 17 Sep 2019 19:06:26 -0400 Subject: [PATCH] last response (#12335) --- code/controllers/subsystem/tickets/tickets.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/controllers/subsystem/tickets/tickets.dm b/code/controllers/subsystem/tickets/tickets.dm index 68fc1680c63..250e7da0143 100644 --- a/code/controllers/subsystem/tickets/tickets.dm +++ b/code/controllers/subsystem/tickets/tickets.dm @@ -150,6 +150,7 @@ SUBSYSTEM_DEF(tickets) to_chat(C, "Unable to close ticket") if("Man Up") C.man_up(returnClient(N)) + T.lastStaffResponse = "Autoresponse: [message_key]" resolveTicket(N) message_staff("[C] has auto responded to [T.clientName]\'s adminhelp with: [message_key] ") log_game("[C] has auto responded to [T.clientName]\'s adminhelp with: [response_phrases[message_key]]") @@ -158,6 +159,7 @@ SUBSYSTEM_DEF(tickets) SEND_SOUND(returnClient(N), msg_sound) to_chat(returnClient(N), "[key_name_hidden(C)] is autoresponding with: [response_phrases[message_key]]")//for this we want the full value of whatever key this is to tell the player so we do response_phrases[message_key] message_staff("[C] has auto responded to [T.clientName]\'s adminhelp with: [message_key] ") //we want to use the short named keys for this instead of the full sentence which is why we just do message_key + T.lastStaffResponse = "Autoresponse: [message_key]" resolveTicket(N) log_game("[C] has auto responded to [T.clientName]\'s adminhelp with: [response_phrases[message_key]]") //Set ticket state with key N to closed