mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 08:14:29 +02:00
Fixed crash related to having no items in NewInventoryScreen
This commit is contained in:
parent
327d7ad292
commit
d23b213b5d
@ -596,7 +596,7 @@ Public Class NewInventoryScreen
|
||||
If Controls.Dismiss() And CanExit Then
|
||||
_closing = True
|
||||
End If
|
||||
If Controls.Accept() Then
|
||||
If Controls.Accept() And _items.Length > 0 Then
|
||||
_tabInControl = False
|
||||
End If
|
||||
End If
|
||||
@ -652,7 +652,7 @@ Public Class NewInventoryScreen
|
||||
End If
|
||||
End If
|
||||
|
||||
If Controls.Accept() Then
|
||||
If Controls.Accept() AndAlso _items.Length > 0 Then
|
||||
_infoItemOptionSelection = 0
|
||||
_isInfoShowing = True
|
||||
SetInfoSettings()
|
||||
|
Loading…
x
Reference in New Issue
Block a user