Remove unnecessary methods and local variables.

This commit is contained in:
Dean Herbert
2017-02-13 18:30:47 +09:00
parent 1aeb48b920
commit 11643d2e09
6 changed files with 21 additions and 41 deletions

View File

@ -68,6 +68,7 @@ namespace osu.Game.Beatmaps
beatmap = decoder?.Decode(stream);
}
if (WithStoryboard && beatmap != null && BeatmapSetInfo.StoryboardFile != null)
using (var stream = new StreamReader(reader.GetStream(BeatmapSetInfo.StoryboardFile)))
decoder?.Decode(stream, beatmap);