mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Use null propagation for animation lookups
This commit is contained in:
@ -417,12 +417,7 @@ namespace osu.Game.Skinning
|
||||
break;
|
||||
}
|
||||
|
||||
var animation = this.GetAnimation(component.LookupName, false, false);
|
||||
|
||||
if (animation != null)
|
||||
return animation;
|
||||
|
||||
return null;
|
||||
return this.GetAnimation(component.LookupName, false, false);
|
||||
}
|
||||
|
||||
private Texture getParticleTexture(HitResult result)
|
||||
|
Reference in New Issue
Block a user