Only connect dummy when we're fully connected to the server

This commit is contained in:
def 2014-09-01 17:36:10 +02:00
parent 8273af8842
commit 96502a2d88

View file

@ -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)