mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Only re-send tunings for old versions
Newer clients send their version early in the connection establishment, so we don't have to re-send tunings after we learn their version number.
This commit is contained in:
parent
5a7fa108a6
commit
cedb3a90f9
|
@ -1599,7 +1599,7 @@ bool CGameContext::OnClientDDNetVersionKnown(int ClientID)
|
|||
SendRecord(ClientID);
|
||||
|
||||
// And report correct tunings.
|
||||
if(ClientVersion >= VERSION_DDNET_EXTRATUNES)
|
||||
if(ClientVersion < VERSION_DDNET_EARLY_VERSION)
|
||||
SendTuningParams(ClientID, pPlayer->m_TuneZone);
|
||||
|
||||
// Tell old clients to update.
|
||||
|
|
Loading…
Reference in a new issue