Added missing protocol versions & made some style fixes.

This commit is contained in:
BenDol
2014-07-30 19:58:34 +12:00
parent 153cf3e859
commit a52c938fef
4 changed files with 25 additions and 10 deletions

View File

@@ -433,7 +433,11 @@ function addMenuHook(category, name, callback, condition, shortcut)
end
function removeMenuHook(category, name)
hookedMenuOptions[category][name] = nil
if not name then
hookedMenuOptions[category] = {}
else
hookedMenuOptions[category][name] = nil
end
end
function createThingMenu(menuPosition, lookThing, useThing, creatureThing)

View File

@@ -1,7 +1,7 @@
CountWindow < MainWindow
id: countWindow
!text: tr('Move Stackable Item')
size: 196 80
size: 196 90
SpinBox
id: spinBox