From c0847d7efbcf252af8e991b9de72a2dc18588f46 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 17 Aug 2020 23:31:43 +0200 Subject: [PATCH] [MIRROR] tgchat: Fix asay (#371) * Merge pull request #53011 from stylemistake/tgui-chat-fix-asay tgchat: Fix asay * tgchat: Fix asay Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com> --- code/modules/admin/verbs/adminsay.dm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/modules/admin/verbs/adminsay.dm b/code/modules/admin/verbs/adminsay.dm index 62ba62f01c3..e0c78473cf2 100644 --- a/code/modules/admin/verbs/adminsay.dm +++ b/code/modules/admin/verbs/adminsay.dm @@ -13,11 +13,10 @@ msg = keywords_lookup(msg) var/custom_asay_color = (CONFIG_GET(flag/allow_admin_asaycolor) && prefs.asaycolor) ? "" : "" msg = "ADMIN: [key_name(usr, 1)] [ADMIN_FLW(mob)]: [custom_asay_color][msg][custom_asay_color ? "":null]" - to_chat(GLOB.admins, list( - "type" = MESSAGE_TYPE_ADMINCHAT, - "html" = msg, - "confidential" = TRUE, - )) + to_chat(GLOB.admins, + type = MESSAGE_TYPE_ADMINCHAT, + html = msg, + confidential = TRUE) SSblackbox.record_feedback("tally", "admin_verb", 1, "Asay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!