1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

fix issue with teknomw3 GUIDs

This commit is contained in:
RaidMax
2019-07-27 10:02:46 -05:00
parent 7afa9448d5
commit ae16152f3d

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))
{
}