move 'devtools:console' binding handler to __vc_on_hud_open

This commit is contained in:
MihailRis
2024-11-20 12:15:09 +03:00
parent e842b217da
commit f4f479d389
4 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void scripting::on_frontend_init(Hud* hud, WorldRenderer* renderer) {
load_script("hud_classes.lua");
if (lua::getglobal(L, "__vc_create_hud_rules")) {
if (lua::getglobal(L, "__vc_on_hud_open")) {
lua::call_nothrow(L, 0, 0);
}