Fix item selection screen

This commit is contained in:
JappaWakka 2023-12-22 10:26:51 +01:00
parent 92f3832416
commit 8e13910d57
1 changed files with 6 additions and 1 deletions

View File

@ -141,7 +141,12 @@ Public Class NewInventoryScreen
_preScreenTarget = New RenderTarget2D(GraphicsDevice, windowSize.Width, windowSize.Height)
_blur = New Resources.Blur.BlurHandler(windowSize.Width, windowSize.Height)
_tabIndex = StartPageIndex
If AllowedPages.Contains(StartPageIndex) = False Then
_tabIndex = AllowedPages(0)
Else
_tabIndex = StartPageIndex
End If
_pageIndex = Player.Temp.BagPageIndex
_itemindex = Player.Temp.BagItemIndex