tibia-client/modules/core_widgets/uiitem.lua

7 lines
260 B
Lua
Raw Normal View History

2012-01-13 01:31:39 +01:00
function UIItem:onMouseRelease(mousePosition, mouseButton)
local item = self:getItem()
if not item or not self:containsPoint(mousePosition) then return false end
return Game.processMouseAction(mousePosition, mouseButton, nil, item, item, nil, item)
end