mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Compatible version filter
This commit is contained in:
parent
ddaea93e60
commit
70ecf785bb
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue