Misc fixes

This commit is contained in:
hondacrx
2022-05-24 19:02:03 -04:00
parent f705cae647
commit 678c657f7d
3 changed files with 3 additions and 3 deletions
@@ -59,7 +59,7 @@ namespace Game
SendPacket(response); SendPacket(response);
} }
public void SendAuthWaitQue(uint position) public void SendAuthWaitQueue(uint position)
{ {
if (position != 0) if (position != 0)
{ {
+1 -1
View File
@@ -375,7 +375,7 @@ namespace Game
// iter point to first not updated socket, position store new position // iter point to first not updated socket, position store new position
foreach (var iter in m_QueuedPlayer) foreach (var iter in m_QueuedPlayer)
{ {
iter.SendAuthWaitQue(++position); iter.SendAuthWaitQueue(++position);
} }
return found; return found;
+1 -1
View File
@@ -802,7 +802,7 @@ namespace Game
if (!m_inQueue) if (!m_inQueue)
SendAuthResponse(BattlenetRpcErrorCode.Ok, false); SendAuthResponse(BattlenetRpcErrorCode.Ok, false);
else else
SendAuthWaitQue(0); SendAuthWaitQueue(0);
SetInQueue(false); SetInQueue(false);
ResetTimeOutTime(false); ResetTimeOutTime(false);