Skip to content

Commit

Permalink
addendum to 487086e, specific order matters here
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikjuvonen committed Jul 7, 2018
1 parent 487086e commit 8a769c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Client/core/CSettings.cpp
Expand Up @@ -1376,11 +1376,12 @@ void CSettings::UpdateAudioTab()

CGameSettings* gameSettings = CCore::GetSingleton().GetGame()->GetSettings();

m_pAudioMasterVolume->SetScrollPosition(fMasterVolume);
m_pAudioRadioVolume->SetScrollPosition(m_fRadioVolume);
m_pAudioSFXVolume->SetScrollPosition(m_fSFXVolume);
m_pAudioMTAVolume->SetScrollPosition(fMTAVolume);
m_pAudioVoiceVolume->SetScrollPosition(fVoiceVolume);
// Lastly, set our master volume scroll position
m_pAudioMasterVolume->SetScrollPosition(fMasterVolume);

m_pCheckBoxAudioEqualizer->SetSelected(gameSettings->IsRadioEqualizerEnabled());
m_pCheckBoxAudioAutotune->SetSelected(gameSettings->IsRadioAutotuneEnabled());
Expand Down

0 comments on commit 8a769c2

Please sign in to comment.