mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:53:51 +08:00
Remove duplicated taiko fallback
This commit is contained in:
parent
dd006401b3
commit
3a6d081d82
@ -562,8 +562,7 @@ namespace osu.Game.Skinning
|
|||||||
yield return componentName;
|
yield return componentName;
|
||||||
|
|
||||||
// Fall back to using the last piece for components coming from lazer (e.g. "Gameplay/osu/approachcircle" -> "approachcircle").
|
// Fall back to using the last piece for components coming from lazer (e.g. "Gameplay/osu/approachcircle" -> "approachcircle").
|
||||||
string lastPiece = componentName.Split('/').Last();
|
yield return componentName.Split('/').Last();
|
||||||
yield return componentName.StartsWith("Gameplay/taiko/", StringComparison.Ordinal) ? "taiko-" + lastPiece : lastPiece;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
|
Loading…
Reference in New Issue
Block a user