asd
This commit is contained in:
@@ -18,7 +18,9 @@ public sealed class PickupItem : InteractionButton
|
||||
// Устанавливаем правильную метку для предмета
|
||||
if ( GameObject.Components.TryGet<InventoryItem>( out var inventoryItem ) )
|
||||
{
|
||||
Label = inventoryItem.Definition?.Name ?? "Подобрать";
|
||||
Label = inventoryItem.Definition?.Name != ""
|
||||
? $"{inventoryItem.Definition.Name} x{inventoryItem.Count}"
|
||||
: "Подобрать";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user