1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:43:21 +08:00

bpm as ints

This commit is contained in:
n4b3l 2016-12-18 02:53:43 +01:00
parent 73532b9172
commit 63dd8893d9

View File

@ -184,8 +184,8 @@ namespace osu.Game.Screens.Select
if (bpmMax < tmp) bpmMax = tmp;
if (bpmMin > tmp) bpmMin = tmp;
}
if (bpmMax == bpmMin) return bpmMin + "bpm";
return bpmMin + "-" + bpmMax + "(" + beatmap.Beatmap.BPMAt(beatmap.Beatmap.Metadata.PreviewTime) + ")bpm";
if (bpmMax == bpmMin) return (int)bpmMin + "bpm";
return (int)bpmMin + "-" + (int)bpmMax + "(" + (int)beatmap.Beatmap.BPMAt(beatmap.Beatmap.Metadata.PreviewTime) + ")bpm";
}
private Container InfoLabel(FontAwesome icon, string text)