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

fixed length.seconds display

This commit is contained in:
n4b3l 2016-12-18 04:03:11 +01:00
parent f551133b0e
commit 492581fa50

View File

@ -62,7 +62,7 @@ namespace osu.Game.Screens.Select
BeatmapInfo beatmapInfo = beatmap.BeatmapInfo;
string bpm = GetBPMRange(beatmap);
string length = "" + TimeSpan.FromMilliseconds((beatmap.Beatmap.HitObjects.Last().EndTime - beatmap.Beatmap.HitObjects.First().StartTime)).ToString(@"m\:s");
string length = "" + TimeSpan.FromMilliseconds((beatmap.Beatmap.HitObjects.Last().EndTime - beatmap.Beatmap.HitObjects.First().StartTime)).ToString(@"m\:ss");
string hitCircles = "" + beatmap.Beatmap.HitObjects.Count(b => b.GetType().ToString().Equals("osu.Game.Modes.Osu.Objects.HitCircle"));
string sliders = "" + beatmap.Beatmap.HitObjects.Count(b => b.GetType().ToString().Equals("osu.Game.Modes.Osu.Objects.Slider"));