Require typed weapon facets for schematic icons
This commit is contained in:
parent
dce2ec7591
commit
fee50c5ad6
4 changed files with 2 additions and 13 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue