Fix x of y servers

as reported by louis
This commit is contained in:
def 2020-12-28 08:56:55 +01:00
parent 896881079f
commit ff2d2f6fc4

View file

@ -551,7 +551,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
// render status
char aBufSvr[128];
char aBufPyr[128];
if(ServerBrowser()->NumSortedServers() != 1)
if(ServerBrowser()->NumServers() != 1)
str_format(aBufSvr, sizeof(aBufSvr), Localize("%d of %d servers"), ServerBrowser()->NumSortedServers(), ServerBrowser()->NumServers());
else
str_format(aBufSvr, sizeof(aBufSvr), Localize("%d of %d server"), ServerBrowser()->NumSortedServers(), ServerBrowser()->NumServers());