Permalink
Browse files

Don't reset timeout state on rejoin

  • Loading branch information...
east committed Aug 28, 2015
1 parent b743119 commit d1c0551546417df011cc1f2522aa52017b584c7c
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/engine/shared/network_conn.cpp
@@ -21,11 +21,12 @@ void CNetConnection::Reset(bool Rejoin)
m_Sequence = 0;
m_Ack = 0;
m_RemoteClosed = 0;
m_TimeoutProtected = false;
m_TimeoutSituation = false;
if (!Rejoin)
{
m_TimeoutProtected = false;
m_TimeoutSituation = false;
m_State = NET_CONNSTATE_OFFLINE;
m_Token = -1;
m_SecurityToken = NET_SECURITY_TOKEN_UNKNOWN;

0 comments on commit d1c0551

Please sign in to comment.