Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Don't reset timeout state on rejoin
- Loading branch information
Showing
with
3 additions
and
2 deletions.
-
+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; |
|
|