mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 22:43:27 +02:00
* Fixed calling local in an if statement where it is not required (lol). * Fixed an issue with the auto walk checker.
This commit is contained in:
@@ -86,6 +86,7 @@ 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