Skip to content

Commit

Permalink
tweak(server): avoid ESX nil
Browse files Browse the repository at this point in the history
  • Loading branch information
renzuzu committed Oct 9, 2021
1 parent adcc91c commit 1a9ff26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions renzu_hud/server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ Citizen.CreateThread(function()
break -- assume its already all registered
end
end
while ESX == nil do Wait(10) end
if config.framework == 'ESX' then
for v, k in pairs(config.engine) do
local enginename = string.lower(v)
Expand Down

0 comments on commit 1a9ff26

Please sign in to comment.