BeatmapContainer -> beatmapContainer

This commit is contained in:
TocoToucan
2018-04-11 16:32:58 +03:00
parent 6cdfaffcf7
commit 6a8f568f66

View File

@ -28,11 +28,11 @@ namespace osu.Game.Overlays.Profile.Sections
foreach (var paginatedBeatmapContainer in Children.OfType<PaginatedBeatmapContainer>()) foreach (var paginatedBeatmapContainer in Children.OfType<PaginatedBeatmapContainer>())
{ {
paginatedBeatmapContainer.BeganPlayingPreview += (BeatmapContainer) => paginatedBeatmapContainer.BeganPlayingPreview += beatmapContainer =>
{ {
foreach (var bc in Children.OfType<PaginatedBeatmapContainer>()) foreach (var bc in Children.OfType<PaginatedBeatmapContainer>())
{ {
if (bc != BeatmapContainer) if (bc != beatmapContainer)
bc.StopPlayingPreview(); bc.StopPlayingPreview();
} }
}; };