mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
count spectators in the server browser when 'count players only'-filter is disabled
This commit is contained in:
parent
f1fc3337f5
commit
0bce750a33
|
@ -225,7 +225,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
|||
{
|
||||
int ItemIndex = i;
|
||||
const CServerInfo *pItem = ServerBrowser()->SortedGet(ItemIndex);
|
||||
NumPlayers += pItem->m_NumPlayers;
|
||||
NumPlayers += g_Config.m_BrFilterSpectators ? pItem->m_NumPlayers : pItem->m_NumClients;
|
||||
CUIRect Row;
|
||||
CUIRect SelectHitBox;
|
||||
|
||||
|
|
Loading…
Reference in a new issue