mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't reset timeout state on rejoin
This commit is contained in:
parent
b743119d0d
commit
d1c0551546
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue