Send error to the server (and close connection) before doing the emergency save

This commit is contained in:
dP
2020-08-12 02:11:46 +03:00
parent e6b1dbf5f0
commit d6d61af834

View File

@@ -223,10 +223,11 @@ void ClientNetworkGameSocketHandler::ClientError(NetworkRecvStatus res)
SendError(errorno);
}
this->CloseConnection(res);
ClientNetworkEmergencySave();
_switch_mode = SM_MENU;
this->CloseConnection(res);
_networking = false;
}