(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)

This commit is contained in:
rubidium
2011-04-22 15:53:40 +00:00
parent 2802c742a4
commit 393fb8e46b
3 changed files with 5 additions and 4 deletions

View File

@@ -253,6 +253,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::CloseConnection(NetworkRecvSta
extern byte _network_clients_connected;
_network_clients_connected--;
DeleteWindowById(WC_CLIENT_LIST_POPUP, this->client_id);
SetWindowDirty(WC_CLIENT_LIST, 0);
this->SendPackets(true);