Allow Player to load from BeatmapInfo.

This commit is contained in:
Dean Herbert
2016-10-27 17:53:37 +09:00
parent d664c97279
commit 9074bc3396
2 changed files with 9 additions and 9 deletions

View File

@ -105,7 +105,7 @@ namespace osu.Game.GameModes.Play
Width = 100,
Text = "Play",
Colour = new Color4(238, 51, 153, 255),
Action = () => Push(new Player { Beatmap = this.database.GetBeatmap(selectedBeatmap) }),
Action = () => Push(new Player { BeatmapInfo = selectedBeatmap }),
},
}
}