From: z411 Date: Fri, 4 Feb 2022 17:35:37 +0000 (-0300) Subject: Fixes serverlist displaying Jeff icon when server has stats disabled X-Git-Tag: xonotic-v0.8.5~214^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F977%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git Fixes serverlist displaying Jeff icon when server has stats disabled --- diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index 38678a868..7d5d21e30 100644 --- a/qcsrc/menu/xonotic/serverlist.qc +++ b/qcsrc/menu/xonotic/serverlist.qc @@ -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)