Add null check

This commit is contained in:
Dean Herbert 2019-12-06 18:53:30 +09:00
parent 21ceb7f85d
commit af2305bb77

View File

@ -50,7 +50,8 @@ namespace osu.Game.Rulesets.Osu.Skinning
case OsuSkinComponents.SliderFollowCircle:
var followCircle = this.GetAnimation("sliderfollowcircle", true, true);
followCircle.Scale *= 0.5f;
if (followCircle != null)
followCircle.Scale *= 0.5f;
return followCircle;
case OsuSkinComponents.SliderBall: