mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 17:23:31 +00:00
fix(server/exports): wrong variable
This commit is contained in:
+2
-2
@@ -122,7 +122,7 @@ local function AddGangs(gangs)
|
|||||||
if type(key) ~= "string" then
|
if type(key) ~= "string" then
|
||||||
message = "invalid_gang_name"
|
message = "invalid_gang_name"
|
||||||
shouldContinue = false
|
shouldContinue = false
|
||||||
errorItem = items[key]
|
errorItem = gangs[key]
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -151,4 +151,4 @@ local function GetCoreVersion(InvokingResource)
|
|||||||
return resourceVersion
|
return resourceVersion
|
||||||
end
|
end
|
||||||
QBCore.Functions.GetCoreVersion = GetCoreVersion
|
QBCore.Functions.GetCoreVersion = GetCoreVersion
|
||||||
exports('GetCoreVersion', GetCoreVersion)
|
exports('GetCoreVersion', GetCoreVersion)
|
||||||
|
|||||||
Reference in New Issue
Block a user