Version 0.991 BETA

This commit is contained in:
OTCv8
2019-10-07 15:52:55 +02:00
parent bc977c268e
commit c5c600e83e
12 changed files with 57 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ walkLock = 0
lastWalk = 0
lastTurn = 0
lastTurnDirection = 0
lastStop = 0
turnKeys = {}
function init()
@@ -263,10 +264,14 @@ function walk(dir)
end
if player:isAutoWalking() or player:isServerWalking() then
if player:isAutoWalking() then
player:stopAutoWalk()
if lastStop + 100 < g_clock.millis() then
lastStop = g_clock.millis()
if player:isAutoWalking() then
player:stopAutoWalk()
end
g_game.stop()
end
g_game.stop()
return
end
if player:isWalkLocked() then