From a1ef8aaa66f328b5784d99465cd507b28d4c357f Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Sun, 16 May 2010 16:30:02 +0200 Subject: [PATCH] =?UTF-8?q?Don=C2=B4t=20kick=20sessions=20in=20the=20tiny?= =?UTF-8?q?=20window=20(barely=20a=20few=20ms)=20between=20the=20login=20q?= =?UTF-8?q?ueue=20and=20the=20char=20selection=20screen=20either.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : trunk --- src/game/World.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/World.cpp b/src/game/World.cpp index a66cacbefed..e6c3ebb974f 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -345,6 +345,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess) if (*iter == sess) { sess->SetInQueue(false); + sess->ResetTimeOutTime(); iter = m_QueuedPlayer.erase(iter); found = true; // removing queued session break; @@ -363,6 +364,7 @@ bool World::RemoveQueuedPlayer(WorldSession* sess) { WorldSession* pop_sess = m_QueuedPlayer.front(); pop_sess->SetInQueue(false); + pop_sess->ResetTimeOutTime(); pop_sess->SendAuthWaitQue(0); pop_sess->SendAddonsInfo();