mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix: Dummy connect
This commit is contained in:
parent
f0ed57a9a3
commit
bede303976
|
@ -1749,7 +1749,13 @@ void CClient::ProcessServerPacketDummy(CNetChunk *pPacket)
|
|||
|
||||
if(Sys)
|
||||
{
|
||||
if(Msg == NETMSG_SNAP || Msg == NETMSG_SNAPSINGLE || Msg == NETMSG_SNAPEMPTY)
|
||||
if(Msg == NETMSG_CON_READY)
|
||||
{
|
||||
m_DummyConnected = true;
|
||||
m_LastDummyConnectTime = GameTick();
|
||||
g_Config.m_ClDummy = 1;
|
||||
}
|
||||
else if(Msg == NETMSG_SNAP || Msg == NETMSG_SNAPSINGLE || Msg == NETMSG_SNAPEMPTY)
|
||||
{
|
||||
int NumParts = 1;
|
||||
int Part = 0;
|
||||
|
@ -1924,10 +1930,6 @@ void CClient::ProcessServerPacketDummy(CNetChunk *pPacket)
|
|||
m_LocalStartTime = time_get();
|
||||
SetState(IClient::STATE_ONLINE);
|
||||
|
||||
m_DummyConnected = true;
|
||||
m_LastDummyConnectTime = GameTick;
|
||||
g_Config.m_ClDummy = 1;
|
||||
|
||||
//DemoRecorder_HandleAutoStart();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue