Skip to content

Commit

Permalink
Don't reset timeout state on rejoin
Browse files Browse the repository at this point in the history
  • Loading branch information
east committed Aug 28, 2015
1 parent b743119 commit d1c0551
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/engine/shared/network_conn.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit d1c0551

Please sign in to comment.