Added lowest layer to GameDate and Pathfinding. Fixed tile contentNode not being made visible.

This commit is contained in:
2026-05-09 10:07:16 +02:00
parent e00259cd31
commit 892365ff79
6 changed files with 6 additions and 8 deletions
-1
View File
@@ -12,7 +12,6 @@ public class Inventory
Item inventoryItem = items.Find(x => x.data.Id == item.data.Id && x.currentAmount + amount <= x.data.StackSize);
if (inventoryItem != null)
{
GD.Print(items.IndexOf(inventoryItem) + ": " + inventoryItem.currentAmount);
inventoryItem.currentAmount += amount;
return true;
}