mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
change in topmenu and some fixes
This commit is contained in:
@@ -21,7 +21,7 @@ function UIItem:onDrop(widget, mousePos)
|
||||
if not widget or not widget.currentDragThing then return false end
|
||||
|
||||
local pos = self.position
|
||||
local count = 1 -- todo make a window for it
|
||||
local count = widget.currentDragThing:getData()
|
||||
|
||||
Game.move(widget.currentDragThing, pos, count)
|
||||
return true
|
||||
|
Reference in New Issue
Block a user