]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/gamecommand.qc
Merge remote branch 'origin/fruitiex/add_soundchan'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / gamecommand.qc
index 4a89ab9bae5958726c0254a7f7ea2fc6f7214a49..4b2b9cf0c921345dd48d4032b745a9971b2600b3 100644 (file)
@@ -64,9 +64,8 @@ void GameCommand(string theCommand)
 
        if(argv(0) == "directpanelhudmenu")
        {
-               highlightedPanel = stof(argv(1));
                // switch to a menu item
-               m_goto(strcat("HUD", HUD_Panel_GetName(highlightedPanel)));
+               m_goto(strcat("HUD", argv(1)));
                return;
        }
 
@@ -95,6 +94,12 @@ void GameCommand(string theCommand)
                return;
        }
 
+       if(argv(0) == "setcompression")
+       {
+               updateCompression();
+               return;
+       }
+
 #if 0
        if(argv(0) == "tokentest")
        {