mirror of
https://github.com/ppy/osu
synced 2025-01-25 15:23:02 +00:00
Remove duplicated taiko fallback
This commit is contained in:
parent
83bfd36498
commit
a837fc9e3b
@ -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