Skip to content

Commit 807a795

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents aab54fb + 66cafc2 commit 807a795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UOP1_Project/Assets/Scripts/UI/Inventory/UIInventory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ void UnselectItem(int itemIndex)
328328
}
329329
void UpdateInventory()
330330
{
331-
FillInventory(_selectedTab.TabType);
331+
FillInventory(_selectedTab.TabType, _isNearPot);
332332
}
333333

334334
void OnActionButtonClicked()
@@ -397,7 +397,7 @@ void CookRecipe(ItemSO recipeToCook)
397397
void OnChangeTab(InventoryTabSO tabType)
398398
{
399399

400-
FillInventory(tabType.TabType);
400+
FillInventory(tabType.TabType, _isNearPot);
401401

402402
}
403403
public void CloseInventory()

0 commit comments

Comments
 (0)