mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-05-30 15:27:43 +03:00
Merge pull request #326 from kamyker/kamyker-patch-2
Fix for InvetoryDef Properties
This commit is contained in:
commit
d58dfdf4d2
@ -102,7 +102,10 @@ namespace Steamworks
|
|||||||
|
|
||||||
if ( !SteamInventory.Internal.GetItemDefinitionProperty( Id, name, out var vl, ref _ ) )
|
if ( !SteamInventory.Internal.GetItemDefinitionProperty( Id, name, out var vl, ref _ ) )
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
if (name == null) //return keys string
|
||||||
|
return vl;
|
||||||
|
|
||||||
if ( _properties == null )
|
if ( _properties == null )
|
||||||
_properties = new Dictionary<string, string>();
|
_properties = new Dictionary<string, string>();
|
||||||
|
|
||||||
@ -235,4 +238,4 @@ namespace Steamworks
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user