]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/command/menu_cmd.qc
Update playerdetail database handler, actually BUILD the databases
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / command / menu_cmd.qc
index 2c0b1edf38aa33fcd42e6117bf4a5c6c108bd04a..ab7344e70464b9ca5d2f8357ebb4eacd218fe374 100644 (file)
@@ -51,6 +51,12 @@ void GameCommand(string theCommand)
                return;
        }
 
+       if(argv(0) == "update_conwidths_before_vid_restart")
+       {
+               updateConwidths(cvar("vid_width"), cvar("vid_height"), cvar("vid_pixelheight"));
+               return;
+       }
+
        if(argv(0) == "directmenu" || argv(0) == "directpanelhudmenu")
        {
                string filter = string_null;
@@ -110,5 +116,11 @@ void GameCommand(string theCommand)
                return;
        }
 
+       if(argv(0) == "debugstats")
+       {
+               //PlayerStats_PlayerDetail();
+               return;
+       }
+
        print(_("Invalid command. For a list of supported commands, try menu_cmd help.\n"));
 }