Fix Trade Screen crash
This commit is contained in:
parent
11001f69d0
commit
045a299826
|
@ -579,7 +579,6 @@ Public Class TradeScreen
|
|||
End If
|
||||
End If
|
||||
Next
|
||||
|
||||
' Item description:
|
||||
If New Rectangle(736, 160, 256, 256).Contains(MouseHandler.MousePosition) = True Then
|
||||
Me.BuyItemsShowDescription = Not Me.BuyItemsShowDescription
|
||||
|
@ -600,6 +599,10 @@ Public Class TradeScreen
|
|||
End If
|
||||
End If
|
||||
|
||||
If Me.Cursor > Me.BuyItemsList.Count - 1 Then
|
||||
Me.Cursor = Me.BuyItemsList.Count - 1
|
||||
End If
|
||||
|
||||
If ControllerHandler.ButtonPressed(Buttons.Y) = True Or KeyBoardHandler.KeyPressed(KeyBindings.SpecialKey) = True Then
|
||||
Me.BuyItemsShowDescription = Not Me.BuyItemsShowDescription
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue