1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

Fix inspections

This commit is contained in:
Dan Balasescu 2024-02-07 03:51:28 +09:00
parent 38f7913b31
commit 2fc06f16b5
No known key found for this signature in database

View File

@ -91,11 +91,11 @@ namespace osu.Game.Rulesets.Osu.Tests
var skinnable = firstObject.ApproachCircle; var skinnable = firstObject.ApproachCircle;
if (skin == null && skinnable?.Drawable is DefaultApproachCircle) if (skin == null && skinnable.Drawable is DefaultApproachCircle)
// check for default skin provider // check for default skin provider
return true; return true;
var text = skinnable?.Drawable as SpriteText; var text = skinnable.Drawable as SpriteText;
return text?.Text == skin; return text?.Text == skin;
}); });