From 7b952b83bf5f56f03aa0ee993c64a9bc446aae89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Mon, 17 Nov 2025 13:55:53 +0100 Subject: [PATCH] Fix test --- osu.Game.Rulesets.Osu.Tests/TestSceneSmoke.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Osu.Tests/TestSceneSmoke.cs b/osu.Game.Rulesets.Osu.Tests/TestSceneSmoke.cs index d5d3cbb146..0e7d94cb9f 100644 --- a/osu.Game.Rulesets.Osu.Tests/TestSceneSmoke.cs +++ b/osu.Game.Rulesets.Osu.Tests/TestSceneSmoke.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Input.Events; @@ -10,6 +11,7 @@ using osu.Framework.Input.States; using osu.Framework.Logging; using osu.Framework.Testing.Input; using osu.Game.Rulesets.Osu.UI; +using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulesets.Osu.Tests @@ -58,7 +60,7 @@ namespace osu.Game.Rulesets.Osu.Tests foreach (var smokeContainer in smokeContainers) { - if (smokeContainer.Children.Count != 0) + if (smokeContainer.Children.OfType().Any()) return false; }