From e6c376bb203f36965cf077ecae54c8a7bb2f5b55 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Mon, 2 Dec 2024 00:56:59 -0500 Subject: [PATCH] Adds logging to Custom Tips (#27501) --- code/modules/admin/verbs/randomverbs.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 947f0b3a875..042deefc35d 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -1128,8 +1128,11 @@ Traitors and the like can also be revived with the previous role mostly intact. // If we've already tipped, then send it straight away. if(SSticker.tipped) SSticker.send_tip_of_the_round() + message_admins("[key_name_admin(usr)] sent a custom Tip of the round.") + log_admin("[key_name(usr)] sent \"[input]\" as the Tip of the Round.") + return - message_admins("[key_name_admin(usr)] sent a Tip of the round.") + message_admins("[key_name_admin(usr)] set the Tip of the round to \"[html_encode(SSticker.selected_tip)]\".") log_admin("[key_name(usr)] sent \"[input]\" as the Tip of the Round.") /client/proc/modify_goals()