diff --git a/Facepunch.Steamworks/Structs/InventoryDef.cs b/Facepunch.Steamworks/Structs/InventoryDef.cs index 4475986..0f689aa 100644 --- a/Facepunch.Steamworks/Structs/InventoryDef.cs +++ b/Facepunch.Steamworks/Structs/InventoryDef.cs @@ -102,7 +102,10 @@ namespace Steamworks if ( !SteamInventory.Internal.GetItemDefinitionProperty( Id, name, out var vl, ref _ ) ) return null; - + + if (name == null) //return keys string + return vl; + if ( _properties == null ) _properties = new Dictionary(); @@ -235,4 +238,4 @@ namespace Steamworks } } -} \ No newline at end of file +}