Added lowest layer to GameDate and Pathfinding. Fixed tile contentNode not being made visible.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user