Explorar o código

Fix reconnection

nordsoft %!s(int64=3) %!d(string=hai) anos
pai
achega
e718f7fe39
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      server/CVCMIServer.cpp

+ 0 - 5
server/CVCMIServer.cpp

@@ -206,11 +206,6 @@ void CVCMIServer::threadAnnounceLobby()
 				announcePack(std::move(announceQueue.front()));
 				announceQueue.pop_front();
 			}
-			if(state != EServerState::LOBBY && hangingConnections.empty())
-			{
-				if(acceptor)
-					acceptor->close();
-			}
 
 			if(acceptor)
 			{