mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Few minor fixes here and there:
* Fixed miniwindow cancelling (sorry Summ! :D) * Fixed pathFind to check floor change tiles * Fixed buying/selling stackable items in pv < 860 * Added force walk to the first step of auto walking for open tibia
This commit is contained in:
@@ -85,13 +85,13 @@ function onGameEditText(id, itemId, maxLength, text, writter, time)
|
||||
end
|
||||
|
||||
okButton.onClick = doneFunc
|
||||
cancelButton.onClick = destroyWindows
|
||||
cancelButton.onClick = destroy
|
||||
|
||||
if not writeable then
|
||||
textWindow.onEnter = doneFunc
|
||||
end
|
||||
|
||||
textWindow.onEscape = destroyWindows
|
||||
textWindow.onEscape = destroy
|
||||
|
||||
table.insert(windows, textWindow)
|
||||
end
|
||||
@@ -121,10 +121,10 @@ function onGameEditList(id, doorId, text)
|
||||
end
|
||||
|
||||
okButton.onClick = doneFunc
|
||||
cancelButton.onClick = destroyWindows
|
||||
cancelButton.onClick = destroy
|
||||
|
||||
textWindow.onEnter = doneFunc
|
||||
textWindow.onEscape = destroyWindows
|
||||
textWindow.onEscape = destroy
|
||||
|
||||
table.insert(windows, textWindow)
|
||||
end
|
||||
|
Reference in New Issue
Block a user