]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixes serverlist displaying Jeff icon when server has stats disabled
authorz411 <z411@omaera.org>
Fri, 4 Feb 2022 17:35:37 +0000 (14:35 -0300)
committerz411 <z411@omaera.org>
Fri, 4 Feb 2022 17:35:37 +0000 (14:35 -0300)
qcsrc/menu/xonotic/serverlist.qc

index 38678a8687155ae40159b7694584d574feb957bd..7d5d21e30df9c2653f448cced6b08c18d141fb43 100644 (file)
@@ -1038,17 +1038,9 @@ void XonoticServerList_drawListBoxItem(entity me, int i, vector absSize, bool is
        if(sflags >= 0 && (sflags & SERVERFLAG_PLAYERSTATS))
        {
                if (sflags & SERVERFLAG_PLAYERSTATS_CUSTOM)
-               {
-                       draw_Picture(iconPos, "icon_mod_", iconSize, '1 1 1', 1); // TODO: icon
-               }
+                       draw_Picture(iconPos, "icon_mod_", iconSize, '1 1 1', 1); // TODO: custom stats server icon
                else
-               {
                        draw_Picture(iconPos, "icon_stats1", iconSize, '1 1 1', 1);
-               }
-       }
-       else
-       {
-               draw_Picture(iconPos, "icon_mod_jeff", iconSize, '1 1 1', 1); // TODO: icon
        }
 
        if(isFocused && me.mouseOverIcons && !me.tooltip)