Skip to content

Commit

Permalink
fix(outfits): Foreign key constraint while saving with different capi…
Browse files Browse the repository at this point in the history
…talization (#247)
  • Loading branch information
TheiLLeniumStudios authored Feb 1, 2023
1 parent b4f4452 commit 96b19ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ RegisterNetEvent("illenium-appearance:client:saveOutfit", function()
lib.callback("illenium-appearance:server:getOutfits", false, function(outfits)
local outfitExists = false
for i = 1, #outfits, 1 do
if outfits[i].name == outfitName then
if outfits[i].name:lower() == outfitName:lower() then
outfitExists = true
break
end
Expand Down

0 comments on commit 96b19ef

Please sign in to comment.