]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/command/menu_cmd.qc
Clean up MENUQC #includes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / command / menu_cmd.qc
index e89761cc34338b4ca6225cce9750fbb61926fd62..bc044a2aa585b54d4ed915f7b403e5943ff6d983 100644 (file)
@@ -1,3 +1,7 @@
+#include "menu_cmd.qh"
+
+#include "../../common/command/generic.qh"
+
 string _dumptree_space;
 void _dumptree_open(entity pass, entity me)
 {
@@ -116,12 +120,5 @@ void GameCommand(string theCommand)
                return;
        }
 
-       if(argv(0) == "debugstats")
-       {
-               PlayerInfo_Init();
-               PlayerInfo_Details();
-               return;
-       }
-
        print(_("Invalid command. For a list of supported commands, try menu_cmd help.\n"));
 }