mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08:00
Fix unnecessary null check
This commit is contained in:
parent
01aede3e29
commit
8b42890644
@ -58,7 +58,7 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
if (firstObject == null)
|
if (firstObject == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var skinnable = firstObject?.ApproachCircle.Child as SkinnableDrawable;
|
var skinnable = firstObject.ApproachCircle.Child as SkinnableDrawable;
|
||||||
|
|
||||||
if (skin == null && skinnable?.Drawable is Sprite)
|
if (skin == null && skinnable?.Drawable is Sprite)
|
||||||
// check for default skin provider
|
// check for default skin provider
|
||||||
|
Loading…
Reference in New Issue
Block a user