mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Fix reconnection
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user