fix issue with teknomw3 GUIDs

This commit is contained in:
RaidMax 2019-07-27 10:02:46 -05:00
parent f613f0aace
commit f8505781a0

View File

@ -287,7 +287,7 @@ namespace SharedLibraryCore
}
}
else if (long.TryParse(str, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out id))
else if (long.TryParse(str.Length > 16 ? str.Substring(0, 16) : str, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out id))
{
}