Fixed audio settings reset in the in-game options
This commit is contained in:
parent
5c96afb81e
commit
960c82e940
|
@ -1022,18 +1022,20 @@
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Close()
|
Private Sub Close()
|
||||||
If currentLanguage <> TempLanguage Then
|
If PreScreen.Identification = Identifications.MainMenuScreen Then
|
||||||
Localization.Load(TempLanguage)
|
If currentLanguage <> TempLanguage Then
|
||||||
End If
|
Localization.Load(TempLanguage)
|
||||||
If MusicManager.MasterVolume * 100 <> Me.TempMusicVolume Then
|
End If
|
||||||
MusicManager.MasterVolume = CSng(Me.TempMusicVolume / 100)
|
If MusicManager.MasterVolume * 100 <> Me.TempMusicVolume Then
|
||||||
End If
|
MusicManager.MasterVolume = CSng(Me.TempMusicVolume / 100)
|
||||||
If SoundManager.Volume * 100 <> Me.TempSoundVolume Then
|
End If
|
||||||
SoundManager.Volume = CSng(Me.TempSoundVolume / 100)
|
If SoundManager.Volume * 100 <> Me.TempSoundVolume Then
|
||||||
End If
|
SoundManager.Volume = CSng(Me.TempSoundVolume / 100)
|
||||||
If MusicManager.Muted <> CBool(Me.TempMuted) Or SoundManager.Muted <> CBool(Me.TempMuted) Then
|
End If
|
||||||
MusicManager.Muted = CBool(Me.TempMuted)
|
If MusicManager.Muted <> CBool(Me.TempMuted) Or SoundManager.Muted <> CBool(Me.TempMuted) Then
|
||||||
SoundManager.Muted = CBool(Me.TempMuted)
|
MusicManager.Muted = CBool(Me.TempMuted)
|
||||||
|
SoundManager.Muted = CBool(Me.TempMuted)
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
_closing = True
|
_closing = True
|
||||||
End Sub
|
End Sub
|
||||||
|
|
Loading…
Reference in New Issue