refactor(esx_skin/client/modules/menu): bad habbits

This commit is contained in:
Ilias Rbayti
2024-11-27 21:52:15 +01:00
parent 2b8841c95a
commit 166fdff8eb
+1 -1
View File
@@ -98,7 +98,7 @@ function Menu:Change(data, menu)
if element.textureof == data.current.name then
local component = self.components[i]
if (ESX.IsFunctionReference(component.max)) then
if ESX.IsFunctionReference(component.max) then
self.elements[i].max = component.max(PlayerPedId(), skin)
end
self.elements[i].value = 0