mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
separator fix, fix draw outside map
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user