File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1376,11 +1376,11 @@ void CSettings::UpdateAudioTab()
1376
1376
1377
1377
CGameSettings* gameSettings = CCore::GetSingleton ().GetGame ()->GetSettings ();
1378
1378
1379
+ m_pAudioMasterVolume->SetScrollPosition (fMasterVolume );
1379
1380
m_pAudioRadioVolume->SetScrollPosition (m_fRadioVolume);
1380
1381
m_pAudioSFXVolume->SetScrollPosition (m_fSFXVolume);
1381
1382
m_pAudioMTAVolume->SetScrollPosition (fMTAVolume );
1382
1383
m_pAudioVoiceVolume->SetScrollPosition (fVoiceVolume );
1383
- m_pAudioMasterVolume->SetScrollPosition (fMasterVolume );
1384
1384
1385
1385
m_pCheckBoxAudioEqualizer->SetSelected (gameSettings->IsRadioEqualizerEnabled ());
1386
1386
m_pCheckBoxAudioAutotune->SetSelected (gameSettings->IsRadioAutotuneEnabled ());
Original file line number Diff line number Diff line change @@ -3913,12 +3913,12 @@ void CClientGame::IdleHandler(void)
3913
3913
bool bMuteAll = g_pCore->GetCVars ()->GetValue <bool >(" mute_master_when_minimized" );
3914
3914
3915
3915
// Apply mute on minimize options
3916
- if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_sfx_when_minimized" ))
3917
- g_pGame->GetAudio ()->SetEffectsMasterVolume (0 );
3918
-
3919
3916
if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_radio_when_minimized" ))
3920
3917
g_pGame->GetAudio ()->SetMusicMasterVolume (0 );
3921
3918
3919
+ if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_sfx_when_minimized" ))
3920
+ g_pGame->GetAudio ()->SetEffectsMasterVolume (0 );
3921
+
3922
3922
if (bMuteAll || g_pCore->GetCVars ()->GetValue <bool >(" mute_mta_when_minimized" ))
3923
3923
m_pManager->GetSoundManager ()->SetMinimizeMuted (true );
3924
3924
}
You can’t perform that action at this time.
0 commit comments