Fixed Main Menu crash

This commit is contained in:
JappaWakka 2024-08-17 15:36:22 +02:00
parent 93f8d63aaf
commit aae35a8724
1 changed files with 3 additions and 1 deletions

View File

@ -740,7 +740,9 @@ Public Class NewMainMenuScreen
End Sub
Private Sub DismissProfile()
_MainProfiles(_selectedProfile).UnSelectProfile()
If _menuIndex = 0 Then
_MainProfiles(_selectedProfile).UnSelectProfile()
End If
End Sub
Private Sub UpdateScreenOffset()