Fix clients connecting as spec getting stuck on map download (@Oy)

This commit is contained in:
Jordy Ruiz 2019-03-17 18:43:57 +01:00
parent c9fc5c6cb6
commit a200bd380f

View file

@ -858,7 +858,7 @@ void CServer::ProcessClientPacket(CNetChunk *pPacket)
}
else if(Msg == NETMSG_REQUEST_MAP_DATA)
{
if((pPacket->m_Flags&NET_CHUNKFLAG_VITAL) == 0 || m_aClients[ClientID].m_State == CClient::STATE_CONNECTING)
if((pPacket->m_Flags&NET_CHUNKFLAG_VITAL) == 0 || m_aClients[ClientID].m_State == CClient::STATE_CONNECTING || m_aClients[ClientID].m_State == CClient::STATE_CONNECTING_AS_SPEC)
{
int ChunkSize = MAP_CHUNK_SIZE;