mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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:
parent
f9949ae6d0
commit
6eff647b8f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user