Fix welcome screen language buttons not working

This commit is contained in:
Bartłomiej Dach 2022-12-19 18:19:26 +01:00
parent b42accb763
commit 186ccc64fd
No known key found for this signature in database

View File

@ -147,7 +147,7 @@ namespace osu.Game.Overlays.FirstRunSetup
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
InternalChildren = new Drawable[] AddRange(new Drawable[]
{ {
backgroundBox = new Box backgroundBox = new Box
{ {
@ -162,7 +162,7 @@ namespace osu.Game.Overlays.FirstRunSetup
Colour = colourProvider.Light1, Colour = colourProvider.Light1,
Text = Language.GetDescription(), Text = Language.GetDescription(),
} }
}; });
} }
protected override void LoadComplete() protected override void LoadComplete()