mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
consider max clients configuration for dbg_dummies. closes #1735
This commit is contained in:
parent
d86165b63c
commit
499653cd2c
|
@ -1469,7 +1469,7 @@ void CGameContext::OnInit()
|
|||
if(g_Config.m_DbgDummies)
|
||||
{
|
||||
for(int i = 0; i < g_Config.m_DbgDummies ; i++)
|
||||
OnClientConnected(MAX_CLIENTS-i-1, true);
|
||||
OnClientConnected(Server()->MaxClients() -i-1, true);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue