We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42dc40b commit a389d52Copy full SHA for a389d52
Client/mods/deathmatch/logic/CBassAudio.cpp
@@ -365,8 +365,9 @@ void CBassAudio::PlayStreamIntern(void* arguments)
365
}
366
else
367
{
368
- // Deal with unwanted pSound
369
- g_pClientGame->GetManager()->GetSoundManager()->QueueChannelStop(pSound);
+ // Deal with unwanted pSound unless we're disconnecting already
+ if (g_pClientGame != nullptr && !g_pClientGame->IsBeingDeleted())
370
+ g_pClientGame->GetManager()->GetSoundManager()->QueueChannelStop(pSound);
371
372
373
0 commit comments