mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18:19 +00:00
Fix dummy not sending DDNet version
This commit is contained in:
parent
5d45f061fa
commit
7e169d92e5
|
@ -3180,7 +3180,7 @@ void CClient::Run()
|
||||||
MsgVer.AddRaw(&m_ConnectionID, sizeof(m_ConnectionID));
|
MsgVer.AddRaw(&m_ConnectionID, sizeof(m_ConnectionID));
|
||||||
MsgVer.AddInt(GameClient()->DDNetVersion());
|
MsgVer.AddInt(GameClient()->DDNetVersion());
|
||||||
MsgVer.AddString(GameClient()->DDNetVersionStr(), 0);
|
MsgVer.AddString(GameClient()->DDNetVersionStr(), 0);
|
||||||
SendMsg(&MsgVer, MSGFLAG_VITAL);
|
SendMsgY(&MsgVer, MSGFLAG_VITAL, 1);
|
||||||
|
|
||||||
CMsgPacker MsgInfo(NETMSG_INFO, true);
|
CMsgPacker MsgInfo(NETMSG_INFO, true);
|
||||||
MsgInfo.AddString(GameClient()->NetVersion(), 128);
|
MsgInfo.AddString(GameClient()->NetVersion(), 128);
|
||||||
|
|
Loading…
Reference in a new issue