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