fix(server/exports): wrong variable

Co-authored-by: ItsANoBrainer <itsanobrainergg@protonmail.com>
This commit is contained in:
BerkieBb
2022-03-12 12:30:13 +01:00
committed by GitHub
parent 4cf4030ad3
commit 2e75bdbdb5
+1 -1
View File
@@ -129,7 +129,7 @@ local function AddGangs(gangs)
if QBCore.Shared.Gangs[key] then
message = "gang_exists"
shouldContinue = false
errorItem = items[key]
errorItem = gangs[key]
break
end
QBCore.Shared.Gangs[key] = value