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 (bpmMax < tmp) bpmMax = tmp;
if (bpmMin > tmp) bpmMin = tmp; if (bpmMin > tmp) bpmMin = tmp;
} }
if (bpmMax == bpmMin) return bpmMin + "bpm"; if (bpmMax == bpmMin) return (int)bpmMin + "bpm";
return bpmMin + "-" + bpmMax + "(" + beatmap.Beatmap.BPMAt(beatmap.Beatmap.Metadata.PreviewTime) + ")bpm"; return (int)bpmMin + "-" + (int)bpmMax + "(" + (int)beatmap.Beatmap.BPMAt(beatmap.Beatmap.Metadata.PreviewTime) + ")bpm";
} }
private Container InfoLabel(FontAwesome icon, string text) private Container InfoLabel(FontAwesome icon, string text)