mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 01:43:55 +00:00
fix(client/interface): allow reregistering list menus
This commit is contained in:
1 parent
33bd3ebc77
commit
dde7daddb7
1 file changed
+1
-1
@@ -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