mirror of
https://github.com/ppy/osu
synced 2025-01-02 20:32:10 +00:00
Fix failing test scene due to new dependency
This commit is contained in:
parent
6a6db5a22b
commit
1b2a223a5f
@ -28,7 +28,7 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
public override LocalisableString Title => EditorSetupStrings.MetadataHeader;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(SetupScreen setupScreen)
|
||||
private void load(SetupScreen? setupScreen)
|
||||
{
|
||||
Children = new[]
|
||||
{
|
||||
@ -42,7 +42,9 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
tagsTextBox = createTextBox<FormTextBox>(BeatmapsetsStrings.ShowInfoTags)
|
||||
};
|
||||
|
||||
setupScreen.MetadataChanged += reloadMetadata;
|
||||
if (setupScreen != null)
|
||||
setupScreen.MetadataChanged += reloadMetadata;
|
||||
|
||||
reloadMetadata();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user