Fix for sound-options.
This commit is contained in:
1 parent
a7f4c1ab10
commit
3b759b608e
1 file changed
+7
@@ -120,6 +120,10 @@ namespace Vocaluxe.Screens
|
|||||||
|
|
||||||
public override bool UpdateGame()
|
public override bool UpdateGame()
|
||||||
{
|
{
|
||||||
|
if (_BackgroundMusicVolume != CConfig.BackgroundMusicVolume)
|
||||||
|
{
|
||||||
|
SelectSlides[htSelectSlides(SelectSlideBackgroundMusicVolume)].Selection = CConfig.BackgroundMusicVolume / 5;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,6 +138,9 @@ namespace Vocaluxe.Screens
|
|||||||
base.OnShow();
|
base.OnShow();
|
||||||
_BackgroundMusic = CConfig.BackgroundMusic;
|
_BackgroundMusic = CConfig.BackgroundMusic;
|
||||||
_BackgroundMusicVolume = CConfig.BackgroundMusicVolume;
|
_BackgroundMusicVolume = CConfig.BackgroundMusicVolume;
|
||||||
|
|
||||||
|
SelectSlides[htSelectSlides(SelectSlideGameMusicVolume)].Selection = CConfig.GameMusicVolume / 5;
|
||||||
|
SelectSlides[htSelectSlides(SelectSlidePreviewMusicVolume)].Selection = CConfig.PreviewMusicVolume / 5;
|
||||||
}
|
}
|
||||||
private void SaveConfig()
|
private void SaveConfig()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user