mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
increased time for client info resend to prevent possible overlap
This commit is contained in:
parent
fa784a9b85
commit
1d4d641210
|
@ -449,7 +449,7 @@ void CGameClient::OnRender()
|
|||
m_NewPredictedTick = false;
|
||||
|
||||
// check if client info has to be resent
|
||||
if(m_LastSendInfo && Client()->State() == IClient::STATE_ONLINE && m_Snap.m_LocalClientID >= 0 && !m_pMenus->IsActive() && m_LastSendInfo+time_freq()*5 < time_get())
|
||||
if(m_LastSendInfo && Client()->State() == IClient::STATE_ONLINE && m_Snap.m_LocalClientID >= 0 && !m_pMenus->IsActive() && m_LastSendInfo+time_freq()*6 < time_get())
|
||||
{
|
||||
// resend if client info differs
|
||||
if(str_comp(g_Config.m_PlayerName, m_aClients[m_Snap.m_LocalClientID].m_aName) ||
|
||||
|
|
Loading…
Reference in a new issue