]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Skip if gametype is "overall"
authorSamual Lenks <samual@xonotic.org>
Sun, 22 Dec 2013 08:05:15 +0000 (03:05 -0500)
committerSamual Lenks <samual@xonotic.org>
Sun, 22 Dec 2013 08:05:15 +0000 (03:05 -0500)
qcsrc/menu/xonotic/statslist.c

index d9a817b78012754a0791555a12ee0ceacc9a9653..94afb25749a3ab633cf3d89bb445ebc7fe822a2e 100644 (file)
@@ -203,7 +203,10 @@ void XonoticStatsList_getStats(entity me)
                else
                {
                        float dividerpos = strstrofs(e, "/", 0);
+                       
                        string gametype = substring(e, 0, dividerpos);
+                       if(gametype == "overall") { continue; }
+                       
                        string event = substring(e, (dividerpos + 1), strlen(e) - (dividerpos + 1));
 
                        // if we are ranked, read these sets of possible options