mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds a chat command to reload admins in case someone locks themselves out. (#33458)
* Update chat_commands.dm * skype
This commit is contained in:
@@ -81,3 +81,13 @@ GLOBAL_LIST(round_end_notifiees)
|
||||
LAZYINITLIST(GLOB.round_end_notifiees)
|
||||
GLOB.round_end_notifiees[sender] = TRUE
|
||||
return "I will notify [sender] when the round ends."
|
||||
|
||||
/datum/server_tools_command/reload_admins
|
||||
name = "reload_admins"
|
||||
help_text = "Forces the server to reload admins."
|
||||
admin_only = TRUE
|
||||
|
||||
/datum/server_tools_command/reload_admins/Run(sender, params)
|
||||
load_admins()
|
||||
log_admin("[sender] reloaded admins via chat command.")
|
||||
return "Admins reloaded."
|
||||
|
||||
Reference in New Issue
Block a user