mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 16:43:04 +08:00
Merge pull request #10802 from smoogipoo/fix-dodgy-test
Fix skin fallback test crashing on repeats
This commit is contained in:
commit
aaad506b98
@ -125,6 +125,9 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
{
|
{
|
||||||
if (!enabled) return null;
|
if (!enabled) return null;
|
||||||
|
|
||||||
|
if (component is OsuSkinComponent osuComponent && osuComponent.Component == OsuSkinComponents.SliderBody)
|
||||||
|
return null;
|
||||||
|
|
||||||
return new OsuSpriteText
|
return new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = identifier,
|
Text = identifier,
|
||||||
|
Loading…
Reference in New Issue
Block a user