mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 05:42:54 +08:00
Add some warning comments.
This commit is contained in:
parent
42ad96778e
commit
f0e4a252a5
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user