mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Increase magic number a bit until we assume client is not DDNet
This commit is contained in:
parent
979294e3f4
commit
727ea434d4
|
@ -375,7 +375,7 @@ void CPlayer::OnPredictedInput(CNetObj_PlayerInput *NewInput)
|
|||
m_pCharacter->OnPredictedInput(NewInput);
|
||||
|
||||
// Magic number when we can hope that client has successfully identified itself
|
||||
if(m_NumInputs == 10)
|
||||
if(m_NumInputs == 20)
|
||||
{
|
||||
if(g_Config.m_SvClientSuggestion[0] != '\0' && m_ClientVersion <= VERSION_DDNET_OLD)
|
||||
GameServer()->SendBroadcast(g_Config.m_SvClientSuggestion, m_ClientID);
|
||||
|
|
Loading…
Reference in a new issue