separator fix, fix draw outside map

This commit is contained in:
Henrique Santiago
2012-01-05 16:34:37 -02:00
parent 4620f71444
commit 1b83126ed5
20 changed files with 49 additions and 38 deletions

View File

@@ -22,10 +22,9 @@ function Game.createThingMenu(menuPosition, lookThing, useThing, creatureThing)
if useThing:isRotateable() then
menu:addOption('Rotate', function() Game.rotate(useThing) end)
end
menu:addSeparator()
if not useThing:isNotMoveable() and useThing:isPickupable() then
menu:addSeparator()
menu:addOption('Trade with ...', function() print('trade with') end)
end
end