From 7dd11fc5bff3c4d4078a746c14941d5ec0ea43c4 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 25 Oct 2023 17:55:55 +0900 Subject: [PATCH] Fix null check --- osu.Game.Rulesets.Osu.Tests/TestSceneCursorTrail.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu.Tests/TestSceneCursorTrail.cs b/osu.Game.Rulesets.Osu.Tests/TestSceneCursorTrail.cs index 9582ee491b..421a32b9eb 100644 --- a/osu.Game.Rulesets.Osu.Tests/TestSceneCursorTrail.cs +++ b/osu.Game.Rulesets.Osu.Tests/TestSceneCursorTrail.cs @@ -78,7 +78,7 @@ private void createTest(Func createContent) => AddStep("create trail", { RelativeSizeAxes = Axes.Both, Size = new Vector2(0.8f), - Child = new MovingCursorInputManager { Child = createContent?.Invoke() } + Child = new MovingCursorInputManager { Child = createContent() } }); });