mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Add null check
This commit is contained in:
parent
21ceb7f85d
commit
af2305bb77
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user