mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Remove unnecessary cleanup in CClient::LoadMap
function
The number of received snapshots is already correctly reset in the `CClient::OnEnterGame` function for the main and dummy connections.
This commit is contained in:
parent
06f330afb7
commit
507b097ad8
|
@ -949,7 +949,6 @@ const char *CClient::LoadMap(const char *pName, const char *pFilename, SHA256_DI
|
|||
char aBuf[256];
|
||||
str_format(aBuf, sizeof(aBuf), "loaded map '%s'", pFilename);
|
||||
m_pConsole->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "client", aBuf);
|
||||
m_aReceivedSnapshots[g_Config.m_ClDummy] = 0;
|
||||
|
||||
str_copy(m_aCurrentMap, pName);
|
||||
str_copy(m_aCurrentMapPath, pFilename);
|
||||
|
|
Loading…
Reference in a new issue