mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 04:29:09 +00:00
Change: send network error to the server before making an emergency save (#8387)
This commit is contained in:
@@ -217,10 +217,11 @@ void ClientNetworkGameSocketHandler::ClientError(NetworkRecvStatus res)
|
||||
SendError(errorno);
|
||||
}
|
||||
|
||||
this->CloseConnection(res);
|
||||
|
||||
ClientNetworkEmergencySave();
|
||||
|
||||
_switch_mode = SM_MENU;
|
||||
this->CloseConnection(res);
|
||||
_networking = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user