mirror of
https://github.com/ppy/osu
synced 2025-02-17 02:47:19 +00:00
Remove legacy skin component fallback lookup
Has always been a source of hiding actual issues like in https://github.com/ppy/osu/issues/17745 (`sliderfollowcircle` looked up from fallback because there's no transformer), and https://github.com/ppy/osu/issues/17934 (because there's a texture `ok` and that matches the component name `HitResult.Ok`).
This commit is contained in:
parent
56358ef19e
commit
69e2e30971
@ -391,9 +391,10 @@ namespace osu.Game.Skinning
|
|||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
|
||||||
|
|
||||||
return this.GetAnimation(component.LookupName, false, false);
|
default:
|
||||||
|
throw new ArgumentOutOfRangeException(nameof(component));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Texture? getParticleTexture(HitResult result)
|
private Texture? getParticleTexture(HitResult result)
|
||||||
|
Loading…
Reference in New Issue
Block a user