Remove duplicated taiko fallback

This commit is contained in:
Dean Herbert 2021-06-01 18:00:24 +09:00
parent 83bfd36498
commit a837fc9e3b

View File

@ -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)