From 87ad7562f73031eb3ce41af7968069ab798936ae Mon Sep 17 00:00:00 2001 From: darkfire006 Date: Sun, 14 Jan 2024 01:40:55 -0600 Subject: [PATCH] reset select item screen every time --- P3D/Screens/Inventory/NewInventoryScreen.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/P3D/Screens/Inventory/NewInventoryScreen.vb b/P3D/Screens/Inventory/NewInventoryScreen.vb index a60e0d80f..b780b1f16 100644 --- a/P3D/Screens/Inventory/NewInventoryScreen.vb +++ b/P3D/Screens/Inventory/NewInventoryScreen.vb @@ -138,6 +138,7 @@ Public Class NewInventoryScreen Public Sub New(ByVal currentScreen As Screen, ByVal AllowedPages As Integer(), ByVal StartPageIndex As Integer, ByVal DoStuff As DoStuff, Optional ByVal AllowedItems As List(Of String) = Nothing, Optional ByVal DoReturnItem As Boolean = False) + SelectedItem = "-1" _preScreenTarget = New RenderTarget2D(GraphicsDevice, windowSize.Width, windowSize.Height) _blur = New Resources.Blur.BlurHandler(windowSize.Width, windowSize.Height)