Don't try to remove non-existing files

Causes annoying error messages during map change & server start.
This commit is contained in:
def 2019-01-14 22:13:49 +01:00
parent 19aef99d0c
commit b1ef2bf864

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