mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(client/interface): allow reregistering list menus
This commit is contained in:
@@ -3,7 +3,7 @@ local openMenu = nil
|
||||
|
||||
function lib.registerMenu(data, cb)
|
||||
data.cb = cb
|
||||
if not registeredMenus[data.id] then registeredMenus[data.id] = data end
|
||||
registeredMenus[data.id] = data
|
||||
end
|
||||
|
||||
function lib.showMenu(id)
|
||||
|
||||
Reference in New Issue
Block a user