From e732af6fdb5d782930aabfbc82e2caaa797487a9 Mon Sep 17 00:00:00 2001 From: z411 Date: Fri, 4 Feb 2022 14:35:37 -0300 Subject: [PATCH] Fixes serverlist displaying Jeff icon when server has stats disabled --- qcsrc/menu/xonotic/serverlist.qc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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) -- 2.39.2