1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 22:06:08 +08:00

Use beatmap's play mode.

This commit is contained in:
Dean Herbert 2017-01-30 13:14:02 +09:00
parent e93f60396f
commit 0c2152f3d0

View File

@ -74,7 +74,7 @@ namespace osu.Game.Screens.Select
};
//get statistics fromt he current ruleset.
Ruleset.GetRuleset(game.PlayMode.Value).GetBeatmapStatistics(beatmap).ForEach(s => labels.Add(new InfoLabel(s)));
Ruleset.GetRuleset(beatmap.BeatmapInfo.Mode).GetBeatmapStatistics(beatmap).ForEach(s => labels.Add(new InfoLabel(s)));
(beatmapInfoContainer = new BufferedContainer
{