1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-11 07:40:54 -05:00

fix GUID parsing on T6

This commit is contained in:
RaidMax
2019-06-15 08:52:59 -05:00
parent 4b8ebc8272
commit 3dd01793fa

View File

@ -282,7 +282,10 @@ namespace SharedLibraryCore
// this is a special case for Plutonium T6 and CoD4x
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out long id))
{
if (id < 0)
{
id = (uint)id;
}
}
else if (long.TryParse(str, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out id))