1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Revert "Fix weird taiko logic failing for weird reasons that probably should not have been a thing"

This reverts commit 69c4ccad05.
This commit is contained in:
Dean Herbert 2021-06-01 17:13:13 +09:00
parent 69c4ccad05
commit ea4644be90

View File

@ -563,11 +563,7 @@ namespace osu.Game.Skinning
// Fall back to using the last piece for components coming from lazer (e.g. "Gameplay/osu/approachcircle" -> "approachcircle").
string lastPiece = componentName.Split('/').Last();
if (componentName.StartsWith("Gameplay/taiko/", StringComparison.Ordinal))
yield return "taiko-" + lastPiece;
yield return lastPiece;
yield return componentName.StartsWith("Gameplay/taiko/", StringComparison.Ordinal) ? "taiko-" + lastPiece : lastPiece;
}
protected override void Dispose(bool isDisposing)