mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Merge #3033
3033: Reset m_ServerCapabilities on Disconnect r=Jupeyy a=def- Reported by builder17 that on Vanilla server timeout code can get sent Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
8d336f61ec
|
@ -770,6 +770,7 @@ void CClient::DisconnectWithReason(const char *pReason)
|
|||
m_RconAuthed[0] = 0;
|
||||
m_CanReceiveServerCapabilities = true;
|
||||
m_ServerSentCapabilities = false;
|
||||
m_ServerCapabilities.m_ChatTimeoutCode = false;
|
||||
m_UseTempRconCommands = 0;
|
||||
m_pConsole->DeregisterTempAll();
|
||||
m_NetClient[CLIENT_MAIN].Disconnect(pReason);
|
||||
|
|
Loading…
Reference in a new issue