Merge pull request #438 from FAr18/main

fix(es_extended/client/main.lua): wrong parameter
This commit is contained in:
Mycroft
2022-09-05 02:51:58 +01:00
committed by GitHub
+1 -1
View File
@@ -106,7 +106,7 @@ AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin)
if #DisabledComps > 0 then
Sleep = false
for i=1, #(DisabledComps) do
HideHudComponentThisFrame(i)
HideHudComponentThisFrame(DisabledComps[i])
end
end