Dummy beatmap has dummy ruleset

This commit is contained in:
Dean Herbert
2017-07-19 09:59:47 +09:00
parent f168ee660c
commit 632d2e8ba5
3 changed files with 34 additions and 3 deletions

View File

@ -120,8 +120,7 @@ namespace osu.Game.Screens.Select
}));
//get statistics from the current ruleset.
if (beatmapInfo.Ruleset != null)
labels.AddRange(beatmapInfo.Ruleset.CreateInstance().GetBeatmapStatistics(beatmap).Select(s => new InfoLabel(s)));
labels.AddRange(beatmapInfo.Ruleset.CreateInstance().GetBeatmapStatistics(beatmap).Select(s => new InfoLabel(s)));
}
PixelSnapping = true;