mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix
This commit is contained in:
parent
87afb28a40
commit
8f72b2fdb6
|
@ -1699,12 +1699,12 @@ void CSqlScore::SaveTeamThread(void *pUser)
|
|||
pData->m_pSqlData->GameServer()->SendChatTarget(pData->m_ClientID, "ERROR: Unable to connect to SQL-Server");
|
||||
}
|
||||
|
||||
((CGameControllerDDRace*)(pData->m_pSqlData->GameServer()->m_pController))->m_Teams.SetSaving(Team, false);
|
||||
|
||||
delete pData;
|
||||
if(SavedTeam)
|
||||
delete SavedTeam;
|
||||
|
||||
((CGameControllerDDRace*)(pData->m_pSqlData->GameServer()->m_pController))->m_Teams.SetSaving(Team, false);
|
||||
|
||||
lock_release(gs_SqlLock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue