mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 14:22:55 +08:00
Merge pull request #11496 from peppy/fix-judgement-animation-conditional
This commit is contained in:
commit
daaf9f701f
@ -378,8 +378,10 @@ namespace osu.Game.Skinning
|
|||||||
// kind of wasteful that we throw this away, but should do for now.
|
// kind of wasteful that we throw this away, but should do for now.
|
||||||
if (createDrawable() != null)
|
if (createDrawable() != null)
|
||||||
{
|
{
|
||||||
if (Configuration.LegacyVersion > 1)
|
var particle = getParticleTexture(resultComponent.Component);
|
||||||
return new LegacyJudgementPieceNew(resultComponent.Component, createDrawable, getParticleTexture(resultComponent.Component));
|
|
||||||
|
if (particle != null)
|
||||||
|
return new LegacyJudgementPieceNew(resultComponent.Component, createDrawable, particle);
|
||||||
else
|
else
|
||||||
return new LegacyJudgementPieceOld(resultComponent.Component, createDrawable);
|
return new LegacyJudgementPieceOld(resultComponent.Component, createDrawable);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user