From 1f6192931872f1711f347d7c5702f5489d762ea8 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 3 Sep 2012 22:16:15 -0300 Subject: [PATCH] Fix minor issue when logging out --- modules/client_entergame/characterlist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client_entergame/characterlist.lua b/modules/client_entergame/characterlist.lua index f6c14ac6..777812e5 100644 --- a/modules/client_entergame/characterlist.lua +++ b/modules/client_entergame/characterlist.lua @@ -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)