mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 06:35:49 +03:00
Fixed exchange parse error
This commit is contained in:
parent
9da329bb7d
commit
53c47d5a12
@ -176,7 +176,7 @@ internal static Ingredient FromString( string part, Definition[] definitions )
|
|||||||
if ( part.Contains( 'x' ) )
|
if ( part.Contains( 'x' ) )
|
||||||
{
|
{
|
||||||
var idx = part.IndexOf( 'x' );
|
var idx = part.IndexOf( 'x' );
|
||||||
i.Count = int.Parse( part.Substring( idx ) );
|
i.Count = int.Parse( part.Substring( idx + 1 ) );
|
||||||
part = part.Substring( 0, idx );
|
part = part.Substring( 0, idx );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user