Skip to content

Commit

Permalink
fix(client/main): prevent radial duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jul 10, 2024
1 parent d8ec9ce commit be26abb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,6 @@ end)

RegisterNetEvent('QBCore:Client:OnJobUpdate', function(job)
lib.removeRadialItem('jobInteractions')
if job.onduty and config.jobItems[job.name] then
lib.addRadialItem(convert({
id = 'jobInteractions',
label = locale('general.job_radial'),
icon = 'briefcase',
items = config.jobItems[job.name]
}))
end
end)

RegisterNetEvent('QBCore:Client:SetDuty', function(onDuty)
Expand Down

0 comments on commit be26abb

Please sign in to comment.