fix(server/exports): wrong variable

This commit is contained in:
BerkieBb
2022-03-13 20:43:26 +01:00
committed by GitHub
parent a063eca8f0
commit db11f3d9cc
+2 -2
View File
@@ -122,7 +122,7 @@ local function AddGangs(gangs)
if type(key) ~= "string" then
message = "invalid_gang_name"
shouldContinue = false
errorItem = items[key]
errorItem = gangs[key]
break
end
@@ -151,4 +151,4 @@ local function GetCoreVersion(InvokingResource)
return resourceVersion
end
QBCore.Functions.GetCoreVersion = GetCoreVersion
exports('GetCoreVersion', GetCoreVersion)
exports('GetCoreVersion', GetCoreVersion)