Skip to content

Commit

Permalink
fix(client): Fix admin menu event (iLLeniumStudios#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheiLLeniumStudios authored Jul 2, 2022
1 parent b8eeefa commit a27126a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions client/backward-events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ end
-- Backwards Compatible Events

RegisterNetEvent('qb-clothing:client:openMenu', function()
OpenShop({
ped = true,
headBlend = true,
faceFeatures = true,
headOverlays = true,
components = true,
props = true,
tattoos = true
}, true, 'all')
local config = getDefaultConfig()
config.ped = true
config.headBlend = true
config.faceFeatures = true
config.headOverlays = true
config.components = true
config.props = true
config.tattoos = true
OpenShop(config, true, 'all')
end)

RegisterNetEvent('qb-clothing:client:openOutfitMenu', function()
Expand Down
2 changes: 1 addition & 1 deletion client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ local function getPropConfig()
}
end

local function getDefaultConfig()
function getDefaultConfig()
return {
ped = false,
headBlend = false,
Expand Down

0 comments on commit a27126a

Please sign in to comment.