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:
heinrich5991 2022-06-13 16:58:56 +02:00
parent 5a7fa108a6
commit cedb3a90f9

View file

@ -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.