Fix: [Network] send map to next client if current client disconnects
Also terminate creating of the savegame, as the client is gone,
there really is no need for that anymore.
(cherry picked from commit 8d199b1bbc)
This commit is contained in:
committed by
Jonathan G Rennison
parent
cfa1612766
commit
7da90af2f4
@@ -89,6 +89,8 @@ public:
|
||||
NetworkRecvStatus CloseConnection(NetworkRecvStatus status) override;
|
||||
void GetClientName(char *client_name, const char *last) const;
|
||||
|
||||
void CheckNextClientToSendMap(NetworkClientSocket *ignore_cs = nullptr);
|
||||
|
||||
NetworkRecvStatus SendMap();
|
||||
NetworkRecvStatus SendErrorQuit(ClientID client_id, NetworkErrorCode errorno);
|
||||
NetworkRecvStatus SendQuit(ClientID client_id);
|
||||
|
||||
Reference in New Issue
Block a user