We need the entire identifier, string.sub is unnecessary.

This commit is contained in:
RikoDEV
2020-02-22 15:58:37 +01:00
committed by GitHub
parent ecf073ef61
commit eb2a274d70
+1 -1
View File
@@ -110,7 +110,7 @@ function GetRockstarID(playerId)
for k,v in ipairs(GetPlayerIdentifiers(playerId)) do
if string.match(v, 'license:') then
identifier = string.sub(v, 9)
identifier = v
break
end
end