diff --git a/src/m_menu.c b/src/m_menu.c index 00c3f6d4..e0ad0db7 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -8608,10 +8608,14 @@ static void M_DrawServerCountAndHorizontalBar(void) serverlistultimatecount - serverlistcount, I_GetTime() / NEWTICRATE % 4, "..."); } - else + else if (serverlistcount > 0) { text = va("%d servers found", serverlistcount); } + else + { + text = "No servers found"; + } } radius = V_StringWidth(text, 0) / 2; @@ -8651,9 +8655,6 @@ static void M_DrawConnectMenu(void) M_DrawServerCountAndHorizontalBar(); - if (serverlistcount <= 0) - V_DrawString(currentMenu->x,currentMenu->y+SERVERHEADERHEIGHT, 0, "No servers found"); - else for (i = 0; i < min(serverlistcount - serverlistpage * SERVERS_PER_PAGE, SERVERS_PER_PAGE); i++) { INT32 slindex = i + serverlistpage * SERVERS_PER_PAGE;