Fix parsing responses from player

This commit is contained in:
Zwelf 2020-05-29 00:11:27 +02:00
parent 76c227a542
commit 91e286f54d

View file

@ -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