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:
parent
a688e69859
commit
82d16ab394
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user