1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 13:20:21 +08:00

Select first difficulty by default

This commit is contained in:
Drew DeVault
2016-10-19 16:42:52 -04:00
Unverified
parent 51791bba7f
commit cfa637b763
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ namespace osu.Game.GameModes.Play
public BeatmapGroup(BeatmapSetInfo beatmapSet, BeatmapResourceStore beatmapStore, TextureStore resources)
{
BeatmapSet = beatmapSet;
selectedBeatmap = beatmapSet.Beatmaps[0];
Alpha = collapsedAlpha;
RelativeSizeAxes = Axes.X;
Size = new Vector2(1, 0);
@@ -157,6 +157,7 @@ namespace osu.Game.GameModes.Play
{
first.Collapsed = false;
selectedBeatmapSet = first.BeatmapSet;
selectedBeatmap = first.SelectedBeatmap;
}
}