mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 10:33:07 +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;
|
||||
|
||||
// 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.StartsWith("Gameplay/taiko/", StringComparison.Ordinal) ? "taiko-" + lastPiece : lastPiece;
|
||||
yield return componentName.Split('/').Last();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
|
Loading…
Reference in New Issue
Block a user