diff --git a/code/_globalvars/game_modes.dm b/code/_globalvars/game_modes.dm index 16e54703cf4..6ea7cc1d8ed 100644 --- a/code/_globalvars/game_modes.dm +++ b/code/_globalvars/game_modes.dm @@ -4,4 +4,5 @@ var/secret_force_mode = "secret" // if this is anything but "secret", the secret var/wavesecret = 0 // meteor mode, delays wave progression, terrible name var/datum/station_state/start_state = null // Used in round-end report -var/custom_event_msg = null \ No newline at end of file +var/custom_event_msg = null +var/custom_event_admin_msg = null \ No newline at end of file diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 399248d2f7a..e89d333771e 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -109,6 +109,7 @@ var/list/admin_verbs_event = list( /client/proc/toggle_ert_calling, /client/proc/cmd_admin_change_custom_event, /client/proc/cmd_admin_custom_event_info, + /client/proc/cmd_view_custom_event_info, /datum/admins/proc/access_news_network, /*allows access of newscasters*/ /client/proc/cmd_admin_direct_narrate, /*send text directly to a player with no padding. Useful for narratives and fluff-text*/ /client/proc/cmd_admin_world_narrate, /*sends text to all players with no padding*/ diff --git a/code/modules/admin/verbs/custom_event.dm b/code/modules/admin/verbs/custom_event.dm index 40f5bf8eefb..e72423b9405 100644 --- a/code/modules/admin/verbs/custom_event.dm +++ b/code/modules/admin/verbs/custom_event.dm @@ -51,7 +51,7 @@ var/input = input(usr, "Enter the description of the custom event. This is informations for admins only. Use it to notify other admins of event info but not players.", "Custom Event Info", custom_event_msg) as message|null if(!input || input == "") - custom_event_msg = null + custom_event_admin_msg = null log_admin("[key_name(usr)] has cleared the custom admin event info text.") message_admins("[key_name_admin(usr)] has cleared the custom admin event text.") return @@ -59,25 +59,28 @@ log_admin("[key_name(usr)] has changed the custom admin event info text.") message_admins("[key_name_admin(usr)] has changed the custom admin event info text.") - custom_event_msg = input + custom_event_admin_msg = input for(var/client/X in admins) if(check_rights(R_EVENT,0,X.mob)) to_chat(X, "