diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index a95e1d9e08c..449d73af534 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -4,16 +4,10 @@ var/global/floorIsLava = 0 //////////////////////////////// -/proc/message_admins(var/text, var/admin_ref = 0, var/admin_holder_ref = 0) - var/rendered = "ADMIN LOG: [text]" - log_adminwarn(rendered) - for(var/client/C in admins) - var/msg = rendered - if(admin_ref) - msg = replacetext(msg, "%admin_ref%", "\ref[C]") - if(admin_holder_ref && C.holder) - msg = replacetext(msg, "%holder_ref%", "\ref[C.holder]") - C << msg +/proc/message_admins(var/msg) + msg = "ADMIN LOG: [msg]" + log_adminwarn(msg) + admins << msg ///////////////////////////////////////////////////////////////////////////////////////////////Panels diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index d87445919ae..cb1d3d0c0ee 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -45,7 +45,7 @@ if(prev_gender != gender) prev_gender = gender if(gender in list(PLURAL, NEUTER)) - message_admins("[src] ([ckey]) gender has been changed to plural or neuter. Please record what has happened recently to the person and then notify coders. (?) (VV) (PM) (JMP)",1,1) //The 1,1 at the end is there to make '%holder_ref%' get replaced with the actual ref object + message_admins("[src] ([ckey]) gender has been changed to plural or neuter. Please record what has happened recently to the person and then notify coders. (?) (VV) (PM) (JMP)") */ //Apparently, the person who wrote this code designed it so that //blinded get reset each cycle and then get activated later in the