mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00: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)
|
||||
return false;
|
||||
|
||||
var skinnable = firstObject?.ApproachCircle.Child as SkinnableDrawable;
|
||||
var skinnable = firstObject.ApproachCircle.Child as SkinnableDrawable;
|
||||
|
||||
if (skin == null && skinnable?.Drawable is Sprite)
|
||||
// check for default skin provider
|
||||
|
Loading…
Reference in New Issue
Block a user