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

fix for T6 guid length including sign

This commit is contained in:
RaidMax
2019-02-14 08:42:14 -06:00
parent 77ebaeccfe
commit 7436b4675a

View File

@ -268,7 +268,7 @@ namespace SharedLibraryCore
str = str.Substring(0, Math.Min(str.Length, 16));
long id;
if (str.Length <= 10)
if (str.Length <= 11) // 10 numeric characters + signed character
{
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id))
{