sql_score init is threaded now

This commit is contained in:
H-M-H 2016-01-28 15:21:57 +01:00
parent f6be7e20fb
commit 783c2161f1
2 changed files with 3 additions and 2 deletions

View file

@ -32,7 +32,8 @@ m_pServer(pGameServer->Server())
CSqlData::ms_pPlayerData = PlayerData(0);
CSqlData::ms_pMap = m_aMap;
ExecSqlFunc(new CSqlExecData(Init, new CSqlData()));
void* InitThread = thread_init(ExecSqlFunc, new CSqlExecData(Init, new CSqlData()));
thread_detach(InitThread);
}
void CSqlScore::ExecSqlFunc(void *pUser)