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

@ -214,10 +214,7 @@ public class InventoryMenu : MonoBehaviour
.ToArray();
}
var shape = GameManager.ItemManager.GetData(item).Shape;
return shape.Coordinates
.Select(cell => shape.Rotate(cell, item.Rotation) + position)
.ToArray();
return Array.Empty<int2>();
}
private static AetheriaRuntimeCatalogItem FindTypedInventoryItem(ItemInstance item)