Fix ContentPack menu button crash

This commit is contained in:
JappaWakka 2024-03-04 18:06:10 +01:00
parent 537fcd93af
commit 35355174cc
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ Public Class NewMainMenuScreen
UpdateScreenOffset()
UpdateOptionsOffset()
If _MainProfiles(_selectedProfile).GameMode <> "Kolben" AndAlso (_menuIndex = 0 OrElse _menuIndex = 1) Then
If (_menuIndex = 0 OrElse _menuIndex = 1) AndAlso _MainProfiles(_selectedProfile).GameMode <> "Kolben" Then
If GameModeSplash Is Nothing Then
Try
Dim fileName As String = GameController.GamePath & "\GameModes\" & _MainProfiles(_selectedProfile).GameMode & "\MainMenu.png"