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