Skip to content

Commit

Permalink
fix(server/events): duplicate QBCore:Client:SetDuty event trigger (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed Jul 13, 2024
1 parent 38239a2 commit bee8fd6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,4 @@ RegisterNetEvent('QBCore:ToggleDuty', function()
player.Functions.SetJobDuty(true)
Notify(src, locale('info.on_duty'))
end
TriggerClientEvent('QBCore:Client:SetDuty', src, player.PlayerData.job.onduty)
end)

0 comments on commit bee8fd6

Please sign in to comment.