]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/quickmenu.qc
Remove an useless check: comments are already filtered out by tokenize_console
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / quickmenu.qc
index 0f00fdc5b0367d0014e093bcf6a288fbfec475fd..00fbe0ab2a8cc5a298669cf1f6d2e69800d34af7 100644 (file)
@@ -99,7 +99,7 @@ bool QuickMenu_Open(string mode, string submenu)
                        // first skip invalid entries, so we don't check them anymore
                        float argc;
                        argc = tokenize_console(s);
-                       if(argc == 0 || argv(0) == "" || substring(argv(0), 0, 2) == "////")
+                       if(argc == 0 || argv(0) == "")
                                continue;
                        if(argc == 1)
                                bufstr_set(QuickMenu_Buffer, QuickMenu_Buffer_Size, strcat("S", argv(0))); // Submenu