Skip to content

Commit

Permalink
Adds logging to Custom Tips (ParadiseSS13#27501)
Browse files Browse the repository at this point in the history
  • Loading branch information
Contrabang authored Dec 2, 2024
1 parent d430dcb commit e6c376b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/modules/admin/verbs/randomverbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e6c376b

Please sign in to comment.