mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Only connect dummy when we're fully connected to the server
This commit is contained in:
parent
8273af8842
commit
96502a2d88
|
@ -736,7 +736,7 @@ void CClient::DummyConnect()
|
|||
if(m_LastDummyConnectTime > 0 && m_LastDummyConnectTime + GameTickSpeed() * 5 > GameTick())
|
||||
return;
|
||||
|
||||
if(m_NetClient[0].State() != NET_CONNSTATE_ONLINE && m_NetClient[0].State() != NET_CONNSTATE_PENDING)
|
||||
if(m_NetClient[0].State() != NET_CONNSTATE_ONLINE)
|
||||
return;
|
||||
|
||||
if(m_DummyConnected)
|
||||
|
|
Loading…
Reference in a new issue