mirror of
https://github.com/ppy/osu
synced 2025-01-04 13:22:08 +00:00
Update spinner approach circle to handle LegacySkinTransformer
This commit is contained in:
parent
045e044637
commit
fe96e15b1b
@ -78,7 +78,9 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
||||
}
|
||||
});
|
||||
|
||||
if (!(source.FindProvider(s => s.GetTexture("spinner-top") != null) is DefaultLegacySkin))
|
||||
var topProvider = source.FindProvider(s => s.GetTexture("spinner-top") != null);
|
||||
|
||||
if (topProvider is LegacySkinTransformer transformer && !(transformer.Skin is DefaultLegacySkin))
|
||||
{
|
||||
AddInternal(ApproachCircle = new Sprite
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user