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:
Salman Ahmed 2022-04-23 01:06:35 +03:00
parent 56358ef19e
commit 69e2e30971
1 changed files with 3 additions and 2 deletions

View File

@ -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)