From 63dd8893d9178e6ad8e1ddf6387ae147d0aa61d7 Mon Sep 17 00:00:00 2001 From: n4b3l Date: Sun, 18 Dec 2016 02:53:43 +0100 Subject: [PATCH] bpm as ints --- osu.Game/Screens/Select/BeatmapInfoWedge.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/Select/BeatmapInfoWedge.cs b/osu.Game/Screens/Select/BeatmapInfoWedge.cs index 42836e046c..f85c84f2b1 100644 --- a/osu.Game/Screens/Select/BeatmapInfoWedge.cs +++ b/osu.Game/Screens/Select/BeatmapInfoWedge.cs @@ -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)