From cfa637b76311379769573d4f00a793c603cb65b2 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 19 Oct 2016 16:42:52 -0400 Subject: [PATCH] Select first difficulty by default --- osu.Game/GameModes/Play/BeatmapGroup.cs | 1 + osu.Game/GameModes/Play/PlaySongSelect.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/osu.Game/GameModes/Play/BeatmapGroup.cs b/osu.Game/GameModes/Play/BeatmapGroup.cs index c7d3119072..29c01c4d18 100644 --- a/osu.Game/GameModes/Play/BeatmapGroup.cs +++ b/osu.Game/GameModes/Play/BeatmapGroup.cs @@ -73,6 +73,7 @@ public bool Collapsed public BeatmapGroup(BeatmapSetInfo beatmapSet, BeatmapResourceStore beatmapStore, TextureStore resources) { BeatmapSet = beatmapSet; + selectedBeatmap = beatmapSet.Beatmaps[0]; Alpha = collapsedAlpha; RelativeSizeAxes = Axes.X; Size = new Vector2(1, 0); diff --git a/osu.Game/GameModes/Play/PlaySongSelect.cs b/osu.Game/GameModes/Play/PlaySongSelect.cs index 055dfd39f9..3cbaa5d178 100644 --- a/osu.Game/GameModes/Play/PlaySongSelect.cs +++ b/osu.Game/GameModes/Play/PlaySongSelect.cs @@ -157,6 +157,7 @@ public override void Load(BaseGame game) { first.Collapsed = false; selectedBeatmapSet = first.BeatmapSet; + selectedBeatmap = first.SelectedBeatmap; } }