mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #3785 from TsFreddie/presistdata_init
initialize CClient::m_HasPersistentData
This commit is contained in:
commit
6f97180c19
|
@ -2361,6 +2361,7 @@ int CServer::Run()
|
|||
int Size = GameServer()->PersistentClientDataSize();
|
||||
for(auto &Client : m_aClients)
|
||||
{
|
||||
Client.m_HasPersistentData = false;
|
||||
Client.m_pPersistentData = malloc(Size);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue