mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Configuration Controller (#7857)
This commit is contained in:
8
modular_chomp/code/modules/admin/verbs/debug.dm
Normal file
8
modular_chomp/code/modules/admin/verbs/debug.dm
Normal file
@@ -0,0 +1,8 @@
|
||||
/client/proc/reload_configuration()
|
||||
set category = "Debug"
|
||||
set name = "Reload Configuration"
|
||||
set desc = "Force config reload to world default"
|
||||
if(!check_rights(R_DEBUG))
|
||||
return
|
||||
if(tgui_alert(usr, "Are you absolutely sure you want to reload the configuration from the default path on the disk, wiping any in-round modifications?", "Really reset?", list("No", "Yes")) == "Yes")
|
||||
config.admin_reload()
|
||||
Reference in New Issue
Block a user