mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
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
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user