Fixed audio settings reset in the in-game options

This commit is contained in:
JappaWakka 2022-07-10 10:26:36 +02:00
parent 5c96afb81e
commit 960c82e940

View File

@ -1022,6 +1022,7 @@
End Sub End Sub
Private Sub Close() Private Sub Close()
If PreScreen.Identification = Identifications.MainMenuScreen Then
If currentLanguage <> TempLanguage Then If currentLanguage <> TempLanguage Then
Localization.Load(TempLanguage) Localization.Load(TempLanguage)
End If End If
@ -1035,6 +1036,7 @@
MusicManager.Muted = CBool(Me.TempMuted) MusicManager.Muted = CBool(Me.TempMuted)
SoundManager.Muted = CBool(Me.TempMuted) SoundManager.Muted = CBool(Me.TempMuted)
End If End If
End If
_closing = True _closing = True
End Sub End Sub
Private Sub ControlsApply() Private Sub ControlsApply()