Fix: [Network] rework when to close connections and inform Game Coordinator if needed

This commit is contained in:
Patric Stout
2021-07-19 19:32:22 +02:00
committed by Patric Stout
parent f1dfc2f482
commit 8a36134003
3 changed files with 32 additions and 33 deletions

View File

@@ -595,7 +595,7 @@ void NetworkClose(bool close_admins)
MyClient::my_client->CloseConnection(NETWORK_RECV_STATUS_CLIENT_QUIT);
}
_network_coordinator_client.CloseAllTokens();
_network_coordinator_client.CloseAllConnections();
}
TCPConnecter::KillAll();