[MIRROR] adds the "refresh TGUI" debug verb [MDB IGNORE] (#13933)

* adds the "refresh TGUI" debug verb (#67265)

About The Pull Request

adds the Refresh TGUI verb to the debug category OOC category, but it isn't locked behind any permissions. i'd put it in OOC, but.. eeeeeeh? there's not real much use for this verb other for debuggers. i put it in the OOC category
Why It's Good For The Game

debug purposes mostly

not player facing lole

* adds the "refresh TGUI" debug verb

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-27 12:44:57 +01:00
committed by GitHub
co-authored by magatsuchi
parent a23b4e4c79
commit 1d87e5270c
4 changed files with 21 additions and 13 deletions
+3 -3
View File
@@ -353,9 +353,9 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
// Initialize stat panel
stat_panel.initialize(
inline_html = file2text('html/statbrowser.html'),
inline_js = file2text('html/statbrowser.js'),
inline_css = file2text('html/statbrowser.css'),
inline_html = file("html/statbrowser.html"),
inline_js = file("html/statbrowser.js"),
inline_css = file("html/statbrowser.css"),
)
addtimer(CALLBACK(src, .proc/check_panel_loaded), 30 SECONDS)