Rename outputStream variable to match base class

This commit is contained in:
Dean Herbert 2023-05-07 00:24:30 +09:00
parent d2591368a6
commit 64d7e0d896

View File

@ -28,14 +28,14 @@ namespace osu.Game.Database
protected override string FileExtension => ".osr";
public override void ExportToStream(ScoreInfo model, Stream stream, ProgressNotification? notification, CancellationToken cancellationToken = default)
public override void ExportToStream(ScoreInfo model, Stream outputStream, ProgressNotification? notification, CancellationToken cancellationToken = default)
{
var file = model.Files.SingleOrDefault();
if (file == null)
return;
using (var inputStream = UserFileStorage.GetStream(file.File.GetStoragePath()))
inputStream.CopyTo(stream);
inputStream.CopyTo(outputStream);
}
}
}