Fix unnecessary null check

This commit is contained in:
Dean Herbert 2019-08-28 20:19:19 +09:00
parent 01aede3e29
commit 8b42890644

View File

@ -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