Fix minor issue when logging out
This commit is contained in:
parent
e3cbc59cc8
commit
1f61929318
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue