Merge pull request #6471 from peppy/fix-background-disposal

Remove unnecessary local assignment
This commit is contained in:
Dan Balasescu 2019-10-11 17:39:31 +09:00 committed by GitHub
commit ea2ec5a1fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -66,11 +66,7 @@ public abstract class SongSelect : OsuScreen, IKeyBindingHandler<GlobalAction>
/// </summary>
protected readonly Container FooterPanels;
protected override BackgroundScreen CreateBackground()
{
var background = new BackgroundScreenBeatmap();
return background;
}
protected override BackgroundScreen CreateBackground() => new BackgroundScreenBeatmap();
protected readonly BeatmapCarousel Carousel;
private readonly BeatmapInfoWedge beatmapInfoWedge;