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:
bors[bot] 2019-01-14 21:19:26 +00:00
commit 385493be79

View file

@ -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