mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 08:01:24 +00:00
fix(esx_skin/client/modules/menu): clear old menu items before inserting new ones
This commit is contained in:
@@ -37,7 +37,8 @@ end
|
||||
|
||||
function Menu:InsertElements()
|
||||
local playerPed = PlayerPedId()
|
||||
|
||||
|
||||
self.elements = {}
|
||||
for i = 1, #self.components, 1 do
|
||||
local value = self.components[i].value
|
||||
local componentId = self.components[i].componentId
|
||||
|
||||
Reference in New Issue
Block a user