mirror of https://github.com/ppy/osu
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 @@ protected override void ParseConfigurationStream(Stream stream)
|
|||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return this.GetAnimation(component.LookupName, false, false);
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException(nameof(component));
|
||||
}
|
||||
}
|
||||
|
||||
private Texture? getParticleTexture(HitResult result)
|
||||
|
|
Loading…
Reference in New Issue