mirror of
https://github.com/edubart/otclient.git
synced 2025-12-13 12:29:46 +01:00
Auto walker update must be done from C++ not lua due to bot protection.
* Moved the auto walk checker to the source. * Implemented a temporary fix for findPath method (will now choose other tiles over null tiles).
This commit is contained in:
@@ -86,7 +86,6 @@ function UIGameMap:onMouseRelease(mousePosition, mouseButton)
|
||||
|
||||
local ret = modules.game_interface.processMouseAction(mousePosition, mouseButton, autoWalkPos, lookThing, useThing, creatureThing, multiUseThing)
|
||||
if ret then
|
||||
modules.game_interface.cancelAutoWalkCheck()
|
||||
self.cancelNextRelease = true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user