Skip to content

Commit d1c0551

Browse files
committed
Don't reset timeout state on rejoin
1 parent b743119 commit d1c0551

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/engine/shared/network_conn.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ void CNetConnection::Reset(bool Rejoin)
2121
m_Sequence = 0;
2222
m_Ack = 0;
2323
m_RemoteClosed = 0;
24-
m_TimeoutProtected = false;
25-
m_TimeoutSituation = false;
2624

2725
if (!Rejoin)
2826
{
27+
m_TimeoutProtected = false;
28+
m_TimeoutSituation = false;
29+
2930
m_State = NET_CONNSTATE_OFFLINE;
3031
m_Token = -1;
3132
m_SecurityToken = NET_SECURITY_TOKEN_UNKNOWN;

0 commit comments

Comments
 (0)