mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:02:54 +08:00
Fix weird taiko logic failing for weird reasons that probably should not have been a thing
This commit is contained in:
parent
33577cbad5
commit
69c4ccad05
@ -563,7 +563,11 @@ 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();
|
||||
yield return componentName.StartsWith("Gameplay/taiko/", StringComparison.Ordinal) ? "taiko-" + lastPiece : lastPiece;
|
||||
|
||||
if (componentName.StartsWith("Gameplay/taiko/", StringComparison.Ordinal))
|
||||
yield return "taiko-" + lastPiece;
|
||||
|
||||
yield return lastPiece;
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
|
Loading…
Reference in New Issue
Block a user