Added "Display Initialize() Log" admin debug command so you can see it mid-round.

This commit is contained in:
Leshana
2018-02-24 17:36:27 -05:00
parent f29484f8da
commit 9b36c4da49
2 changed files with 9 additions and 0 deletions

View File

@@ -194,6 +194,7 @@ var/list/admin_verbs_debug = list(
/client/proc/cmd_debug_del_all,
/client/proc/cmd_debug_tog_aliens,
/client/proc/cmd_display_del_log,
/client/proc/cmd_display_init_log,
/client/proc/air_report,
/client/proc/reload_admins,
/client/proc/reload_eventMs,

View File

@@ -327,6 +327,14 @@
usr << browse(dellog.Join(), "window=dellog")
/client/proc/cmd_display_init_log()
set category = "Debug"
set name = "Display Initialize() Log"
set desc = "Displays a list of things that didn't handle Initialize() properly"
if(!check_rights(R_DEBUG)) return
src << browse(replacetext(SSatoms.InitLog(), "\n", "<br>"), "window=initlog")
/client/proc/cmd_admin_grantfullaccess(var/mob/M in mob_list)
set category = "Admin"
set name = "Grant Full Access"