Change: send network error to the server before making an emergency save (#8387)

pull/217/head
Pavel Stupnikov 4 years ago committed by GitHub
parent 88f30f7fe7
commit d989fb516b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save