mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 15:27:30 +08:00
Fix inspections
This commit is contained in:
parent
38f7913b31
commit
2fc06f16b5
@ -91,11 +91,11 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
|
||||
var skinnable = firstObject.ApproachCircle;
|
||||
|
||||
if (skin == null && skinnable?.Drawable is DefaultApproachCircle)
|
||||
if (skin == null && skinnable.Drawable is DefaultApproachCircle)
|
||||
// check for default skin provider
|
||||
return true;
|
||||
|
||||
var text = skinnable?.Drawable as SpriteText;
|
||||
var text = skinnable.Drawable as SpriteText;
|
||||
|
||||
return text?.Text == skin;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user