mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Only set StoryBoardFile once
This commit is contained in:
parent
eff66a1da6
commit
1e901a1604
@ -203,7 +203,6 @@ namespace osu.Game.Database
|
||||
{
|
||||
string[] mapNames = reader.BeatmapFilenames;
|
||||
foreach (var name in mapNames)
|
||||
{
|
||||
using (var stream = new StreamReader(reader.GetStream(name)))
|
||||
{
|
||||
var decoder = BeatmapDecoder.GetDecoder(stream);
|
||||
@ -215,8 +214,7 @@ namespace osu.Game.Database
|
||||
|
||||
beatmapSet.Beatmaps.Add(beatmap.BeatmapInfo);
|
||||
}
|
||||
beatmapSet.StoryboardFile = reader.StoryboardFilename;
|
||||
}
|
||||
beatmapSet.StoryboardFile = reader.StoryboardFilename;
|
||||
}
|
||||
|
||||
return beatmapSet;
|
||||
|
Loading…
Reference in New Issue
Block a user