Fix Main Menu GameMode assets load from options...

When clicking on a save profile while in the options submenu, the gamemode wasn't loaded immediately
This commit is contained in:
JappaWakka 2025-03-28 18:37:01 +01:00
parent f9949ae6d0
commit 6eff647b8f

View File

@ -444,6 +444,12 @@ Public Class NewMainMenuScreen
_selectedProfile = x
_sliderTarget = GetSliderTarget(x)
SoundManager.PlaySound("select")
If _MainProfiles(_selectedProfile)._gameModeExists Then
GameModeManager.SetGameModePointer(_MainProfiles(_selectedProfile)._gameMode)
Else
GameModeManager.SetGameModePointer("Kolben")
End If
End If
Next
For x = 0 To _OptionsProfiles.Count - 1
@ -475,6 +481,12 @@ Public Class NewMainMenuScreen
_selectedProfile = x
_sliderTarget = GetSliderTarget(x)
SoundManager.PlaySound("select")
If _MainProfiles(_selectedProfile)._gameModeExists Then
GameModeManager.SetGameModePointer(_MainProfiles(_selectedProfile)._gameMode)
Else
GameModeManager.SetGameModePointer("Kolben")
End If
End If
Next
For x = 0 To _OptionsProfiles.Count - 1