Skip to content

Commit

Permalink
fix(bridge/esx): nil function call
Browse files Browse the repository at this point in the history
  • Loading branch information
DemiAutomatic committed Jun 6, 2024
1 parent 188aa91 commit c53a0eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridge/esx/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RegisterNetEvent('esx:playerLoaded', function(xPlayer)

TriggerEvent('sleepless_interact:updateGroups', Groups)
TriggerEvent('sleepless_interact:LoadDui')
MainLoop()
BuilderLoop()
end)

RegisterNetEvent('esx:addInventoryItem', function(name, count)
Expand All @@ -58,7 +58,7 @@ AddEventHandler('onResourceStart', function(resource)
[xPlayer.job.name] = xPlayer.job.grade,
}
TriggerEvent('sleepless_interact:updateGroups', Groups)
MainLoop()
BuilderLoop()
end
end)

Expand Down

0 comments on commit c53a0eb

Please sign in to comment.