mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Fix parsing responses from player
This commit is contained in:
parent
76c227a542
commit
91e286f54d
|
@ -147,6 +147,9 @@ void CPlayer::Tick()
|
||||||
{
|
{
|
||||||
#ifdef CONF_DEBUG
|
#ifdef CONF_DEBUG
|
||||||
if(!g_Config.m_DbgDummies || m_ClientID < MAX_CLIENTS-g_Config.m_DbgDummies)
|
if(!g_Config.m_DbgDummies || m_ClientID < MAX_CLIENTS-g_Config.m_DbgDummies)
|
||||||
|
#endif
|
||||||
|
#if defined(CONF_SQL)
|
||||||
|
ProcessSqlResult();
|
||||||
#endif
|
#endif
|
||||||
if(!Server()->ClientIngame(m_ClientID))
|
if(!Server()->ClientIngame(m_ClientID))
|
||||||
return;
|
return;
|
||||||
|
@ -807,5 +810,6 @@ void CPlayer::ProcessSqlResult()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
m_SqlQueryResult = nullptr;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue