1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +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,8 +90,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
return null;
case OsuSkinComponents.CursorParticles:
if (GetTexture("star2") != null)
return new LegacyCursorParticles();
return null;
case OsuSkinComponents.HitCircleText:
if (!this.HasFont(LegacyFont.HitCircle))
return null;