diff options
author | Machiavelli <none@none> | 2010-05-16 16:30:02 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-05-16 16:30:02 +0200 |
commit | a1ef8aaa66f328b5784d99465cd507b28d4c357f (patch) | |
tree | 1075c864b6bb7190b93808bc524568bc3cb5dff2 | |
parent | 4671e6fd9951f5298b46d7fe98aafcb376b4bc0d (diff) |
Don´t kick sessions in the tiny window (barely a few ms) between the login queue and the char selection screen either.
--HG--
branch : trunk
-rw-r--r-- | src/game/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |