mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix x of y servers
as reported by louis
This commit is contained in:
parent
896881079f
commit
ff2d2f6fc4
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue