mirror of https://github.com/ppy/osu
Fix potential nullref in UserDimBackgrounds tests
This commit is contained in:
parent
76ba0b833e
commit
a365082a98
|
@ -277,7 +277,7 @@ private void performFullSetup(bool allowPause = false)
|
|||
|
||||
private void setupUserSettings()
|
||||
{
|
||||
AddUntilStep("Song select has selection", () => songSelect.Carousel.SelectedBeatmap != null);
|
||||
AddUntilStep("Song select has selection", () => songSelect.Carousel?.SelectedBeatmap != null);
|
||||
AddStep("Set default user settings", () =>
|
||||
{
|
||||
SelectedMods.Value = SelectedMods.Value.Concat(new[] { new OsuModNoFail() }).ToArray();
|
||||
|
|
Loading…
Reference in New Issue