Select first difficulty by default

This commit is contained in:
Drew DeVault 2016-10-19 16:42:52 -04:00
parent 51791bba7f
commit cfa637b763
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -157,6 +157,7 @@ public override void Load(BaseGame game)
{
first.Collapsed = false;
selectedBeatmapSet = first.BeatmapSet;
selectedBeatmap = first.SelectedBeatmap;
}
}