1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 16:25:32 +08:00

Add some warning comments.

This commit is contained in:
Dean Herbert 2016-10-28 23:35:49 +09:00
parent 42ad96778e
commit f0e4a252a5

View File

@ -166,6 +166,9 @@ namespace osu.Game.GameModes.Play
{
}
/// <summary>
/// The global Beatmap was changed.
/// </summary>
protected override void OnBeatmapChanged(WorkingBeatmap beatmap)
{
base.OnBeatmapChanged(beatmap);
@ -177,6 +180,7 @@ namespace osu.Game.GameModes.Play
if (beatmap.Equals(selectedBeatmapInfo))
return;
//this is VERY temporary logic.
beatmapSetFlow.Children.Cast<BeatmapGroup>().First(b =>
{
var panel = b.BeatmapPanels.FirstOrDefault(p => p.Beatmap.Equals(beatmap));