From 91e286f54de81e2d0ec857632511eaaf0499569c Mon Sep 17 00:00:00 2001 From: Zwelf Date: Fri, 29 May 2020 00:11:27 +0200 Subject: [PATCH] Fix parsing responses from player --- src/game/server/player.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index 774f0a477..1b7e5991b 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -147,6 +147,9 @@ void CPlayer::Tick() { #ifdef CONF_DEBUG if(!g_Config.m_DbgDummies || m_ClientID < MAX_CLIENTS-g_Config.m_DbgDummies) +#endif +#if defined(CONF_SQL) + ProcessSqlResult(); #endif if(!Server()->ClientIngame(m_ClientID)) return; @@ -807,5 +810,6 @@ void CPlayer::ProcessSqlResult() break; } } + m_SqlQueryResult = nullptr; } #endif