Require typed weapon facets for schematic icons

This commit is contained in:
Meta Vens 2026-06-14 01:31:53 +01:00
commit fee50c5ad6
4 changed files with 2 additions and 13 deletions

View file

@ -123,8 +123,6 @@ public class SchematicDisplay : MonoBehaviour
var typedWeapon = FindTypedWeapon(x.Item.EquippableItem);
if (typedWeapon != null)
x.ListElement.ShowWeapon(typedWeapon);
else if(x.Item.Data is WeaponItemData weaponItemData)
x.ListElement.ShowWeapon(weaponItemData);
//x.ListElement.Label.text = x.Item.EquippableItem.Name;
if (!_enemy)
{