1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:02:55 +08:00

Fix LegacyCursorParticles texture null reference

This commit is contained in:
Opelkuh 2021-09-12 23:45:50 +02:00
parent a688e69859
commit 82d16ab394

View File

@ -90,7 +90,10 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
return null;
case OsuSkinComponents.CursorParticles:
return new LegacyCursorParticles();
if (GetTexture("star2") != null)
return new LegacyCursorParticles();
return null;
case OsuSkinComponents.HitCircleText:
if (!this.HasFont(LegacyFont.HitCircle))