Forgot removeMenuHook function.

master
BenDol 10 years ago
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…
Cancel
Save