1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:42:54 +08:00

Merge pull request #10802 from smoogipoo/fix-dodgy-test

Fix skin fallback test crashing on repeats
This commit is contained in:
Bartłomiej Dach 2020-11-12 12:15:36 +01:00 committed by GitHub
commit aaad506b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,9 @@ namespace osu.Game.Rulesets.Osu.Tests
{
if (!enabled) return null;
if (component is OsuSkinComponent osuComponent && osuComponent.Component == OsuSkinComponents.SliderBody)
return null;
return new OsuSpriteText
{
Text = identifier,