mirror of
https://github.com/edubart/otclient.git
synced 2025-04-29 17:19:20 +02:00
Forgot removeMenuHook function.
This commit is contained in:
parent
0f362f80e3
commit
935b9e4cd6
@ -423,6 +423,10 @@ function addMenuHook(category, name, callback, condition, shortcut)
|
||||
}
|
||||
end
|
||||
|
||||
function removeMenuHook(category, name)
|
||||
hookedMenuOptions[category][name] = {}
|
||||
end
|
||||
|
||||
function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
|
||||
if not g_game.isOnline() then return end
|
||||
local menu = g_ui.createWidget('PopupMenu')
|
||||
|
Loading…
x
Reference in New Issue
Block a user