]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use custom quickmenu by default
authorz411 <z411@omaera.org>
Sat, 27 Aug 2022 05:39:28 +0000 (01:39 -0400)
committerz411 <z411@omaera.org>
Sat, 27 Aug 2022 05:39:28 +0000 (01:39 -0400)
qcsrc/client/hud/panel/quickmenu.qc

index f274411ae5bd6aed5d490d45f2d2ec66dc2e0e05..c378d4d25cf70fbae1137b5c4fbf72460e344224 100644 (file)
@@ -88,10 +88,9 @@ bool QuickMenu_Open(string mode, string submenu, string file)
 
        if(mode == "")
        {
-               if(file == "" || file == "0")
-                       mode = "default";
-               else
-                       mode = "file";
+               // z411 Load quickmenu.txt by default
+               mode = "file";
+               file = "quickmenu.txt";
        }
 
        if(mode == "file")