1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00

Fix reconnection

This commit is contained in:
nordsoft 2022-10-06 19:23:34 +04:00
parent ea49b8cf40
commit e718f7fe39

View File

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