Push
This commit is contained in:
@@ -400,6 +400,7 @@ public partial class InventoryMenu : Control, IInventoryMenu
|
||||
else if (currentItem is IUsableItem usableItem)
|
||||
{
|
||||
usableItem.Use();
|
||||
GameRepo.PlayerData.Inventory.Remove(usableItem);
|
||||
if (_currentIndex >= ItemSlots.Length - 1)
|
||||
_currentIndex--;
|
||||
if (_currentIndex <= 0)
|
||||
|
||||
Reference in New Issue
Block a user