fix(client/interface): allow reregistering list menus

This commit is contained in:
Luke authored and Luke committed 2022-08-04 15:04:49 +02:00
1 parent 33bd3ebc77
commit dde7daddb7
1 file changed
+1 -1
+1 -1
View File
@@ -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)