mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 06:01:25 +00:00
refactor(esx_skin/client/modules/menu): bad habbits
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user