Only allow dummy connect when we're connected to server

This commit is contained in:
def 2014-05-10 20:40:54 +02:00
parent 7bc20331d9
commit 102997a989

View file

@ -696,6 +696,9 @@ void CClient::DummyConnect()
if(m_LastDummyConnectTime > GameTick())
return;
if(m_NetClient[0].State() != NET_CONNSTATE_ONLINE)
return;
char aBuf[512];
m_NetClient[1].Disconnect(0);