From bc77ffad337bd2e1f2f70814f9002b31398e34a1 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sun, 22 Dec 2013 03:05:15 -0500 Subject: [PATCH] Skip if gametype is "overall" --- qcsrc/menu/xonotic/statslist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/menu/xonotic/statslist.c b/qcsrc/menu/xonotic/statslist.c index d9a817b78..94afb2574 100644 --- a/qcsrc/menu/xonotic/statslist.c +++ b/qcsrc/menu/xonotic/statslist.c @@ -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 -- 2.39.2