mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:01:24 +00:00
fix(esx_multicharacter/server): don't rely on jobs for databaseConnected
This commit is contained in:
@@ -184,12 +184,12 @@ MySQL.ready(function()
|
||||
end
|
||||
end
|
||||
|
||||
databaseConnected = true
|
||||
|
||||
while not next(ESX.Jobs) do
|
||||
Wait(500)
|
||||
ESX.Jobs = ESX.GetJobs()
|
||||
end
|
||||
|
||||
databaseConnected = true
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user