mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
fix dragqueen and containers
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
function UIMap:onDragEnter(mousePos)
|
||||
local tile = self:getTile(mousePosition)
|
||||
local tile = self:getTile(mousePos)
|
||||
if not tile then return false end
|
||||
|
||||
local thing = tile:getTopMoveThing()
|
||||
if not thing then return false end
|
||||
|
||||
|
||||
self.currentDragThing = thing
|
||||
setTargetCursor()
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user