mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Fix auto walking bug
This commit is contained in:
@@ -61,7 +61,7 @@ function online()
|
||||
cooldownWindow:close()
|
||||
end
|
||||
|
||||
if lastPlayer ~= g_game.getCharacterName() then
|
||||
if not lastPlayer or lastPlayer ~= g_game.getCharacterName() then
|
||||
refresh()
|
||||
lastPlayer = g_game.getCharacterName()
|
||||
end
|
||||
|
Reference in New Issue
Block a user