]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/gamecommand.qc
first beginning of "messagebox" like function, does not compile yet
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / gamecommand.qc
index 84c98e0da2db4f2f8fb76e1cc3b5b374214072bc..6e2401166ccba5e1a5eb271c70dc4a2acd605851 100644 (file)
@@ -87,6 +87,13 @@ void GameCommand(string theCommand)
                return;
        }
 
+       if(argv(0) == "dialog")
+       {
+               if(!isdemo()) // don't allow this command in demos
+                       showCommandLineDialog(1, argc-1);
+               return;
+       }
+
 #if 0
        if(argv(0) == "tokentest")
        {