mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
fix crash on game close when demo recording
This commit is contained in:
@@ -686,7 +686,7 @@ void CDemoRecorder::CloseDemoFile()
|
||||
|
||||
m_DemoFile.Close();
|
||||
|
||||
g_ClientDLL->OnDemoRecordStop();
|
||||
if( g_ClientDLL ) g_ClientDLL->OnDemoRecordStop();
|
||||
}
|
||||
|
||||
m_bCloseDemoFile = false;
|
||||
|
||||
Reference in New Issue
Block a user