mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't try to remove non-existing files
Causes annoying error messages during map change & server start.
This commit is contained in:
parent
19aef99d0c
commit
b1ef2bf864
|
@ -1733,6 +1733,9 @@ int CServer::LoadMap(const char *pMapName)
|
|||
// stop recording when we change map
|
||||
for(int i = 0; i < MAX_CLIENTS+1; i++)
|
||||
{
|
||||
if(!m_aDemoRecorder[i].IsRecording())
|
||||
continue;
|
||||
|
||||
m_aDemoRecorder[i].Stop();
|
||||
|
||||
// remove tmp demos
|
||||
|
|
Loading…
Reference in a new issue