Fix minor issue when logging out

This commit is contained in:
Eduardo Bart 2012-09-03 22:16:15 -03:00
parent e3cbc59cc8
commit 1f61929318
1 changed files with 1 additions and 1 deletions

View File

@ -20,8 +20,8 @@ local function tryLogin(charInfo, tries)
end
if g_game.isOnline() then
g_game.safeLogout()
if tries == 1 then
g_game.safeLogout()
loadBox = displayCancelBox(tr('Please wait'), tr('Logging out...'))
end
scheduleEvent(function() tryLogin(charInfo, tries+1) end, 250)