mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #1433
1433: Don't try to remove non-existing files r=heinrich5991 a=def- Causes annoying error messages during map change & server start. Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
385493be79
|
@ -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