Use typed shapes for inventory UI masks

This commit is contained in:
Meta Vens 2026-06-14 01:54:28 +01:00
commit dc8c3353cf
4 changed files with 8 additions and 8 deletions

View file

@ -883,7 +883,7 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler
if (typedItem != null && typedItem.ShapeCells.Count > 0)
return ToShape(typedItem);
return GameManager.ItemManager.GetData(item).Shape;
return new Shape(1, 1);
}
private static Shape ToShape(AetheriaRuntimeCatalogItem item)