Compatible version filter

This commit is contained in:
Learath 2020-06-17 10:32:28 +03:00
parent ddaea93e60
commit 70ecf785bb

View file

@ -1949,7 +1949,9 @@ void CServer::CacheServerInfoSixup(CCache *pCache, bool SendClients)
}
}
Packer.AddString(GameServer()->Version(), 32);
char aVersion[32];
str_format(aVersion, sizeof(aVersion), "0.7, %s", GameServer()->Version());
Packer.AddString(aVersion, 32);
Packer.AddString(g_Config.m_SvName, 64);
Packer.AddString(g_Config.m_SvHostname, 128);
Packer.AddString(GetMapName(), 32);