File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3910,16 +3910,16 @@ void CClientGame::IdleHandler(void)
3910
3910
CLuaArguments Arguments;
3911
3911
m_pRootEntity->CallEvent (" onClientMinimize" , Arguments, false );
3912
3912
3913
- bool bMuteAny = g_pCore->GetCVars ()->GetValue <bool >(" mute_master_when_minimized" );
3913
+ bool bMuteAll = g_pCore->GetCVars ()->GetValue <bool >(" mute_master_when_minimized" );
3914
3914
3915
3915
// Apply mute on minimize options
3916
- if (bMuteAny || g_pCore->GetCVars ()->GetValue <bool >(" mute_sfx_when_minimized" ))
3916
+ if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_sfx_when_minimized" ))
3917
3917
g_pGame->GetAudio ()->SetEffectsMasterVolume (0 );
3918
3918
3919
- if (bMuteAny || g_pCore->GetCVars ()->GetValue <bool >(" mute_radio_when_minimized" ))
3919
+ if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_radio_when_minimized" ))
3920
3920
g_pGame->GetAudio ()->SetMusicMasterVolume (0 );
3921
3921
3922
- if (bMuteAny || g_pCore->GetCVars ()->GetValue <bool >(" mute_mta_when_minimized" ))
3922
+ if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_mta_when_minimized" ))
3923
3923
m_pManager->GetSoundManager ()->SetMinimizeMuted (true );
3924
3924
}
3925
3925
}
You can’t perform that action at this time.
0 commit comments