fix crash on game close when demo recording

This commit is contained in:
nillerusr
2023-10-04 22:22:24 +03:00
parent b7bd94c52e
commit efeda62add
2 changed files with 4 additions and 20 deletions

View File

@@ -686,7 +686,7 @@ void CDemoRecorder::CloseDemoFile()
m_DemoFile.Close();
g_ClientDLL->OnDemoRecordStop();
if( g_ClientDLL ) g_ClientDLL->OnDemoRecordStop();
}
m_bCloseDemoFile = false;