mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
No more crashing on map change with dummy
This commit is contained in:
parent
25cfa741e5
commit
c0be97b8c3
|
@ -1349,6 +1349,9 @@ void CClient::ProcessServerPacket(CNetChunk *pPacket)
|
|||
if(Unpacker.Error())
|
||||
return;
|
||||
|
||||
g_Config.m_ClDummy = 0;
|
||||
m_DummyConnected = false;
|
||||
|
||||
// check for valid standard map
|
||||
if(!m_MapChecker.IsMapValid(pMap, MapCrc, MapSize))
|
||||
pError = "invalid standard map";
|
||||
|
|
Loading…
Reference in a new issue