mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Use null propagation for animation lookups
This commit is contained in:
parent
9ebafb1ec0
commit
b5f145cfa9
@ -417,12 +417,7 @@ namespace osu.Game.Skinning
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
var animation = this.GetAnimation(component.LookupName, false, false);
|
return this.GetAnimation(component.LookupName, false, false);
|
||||||
|
|
||||||
if (animation != null)
|
|
||||||
return animation;
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Texture getParticleTexture(HitResult result)
|
private Texture getParticleTexture(HitResult result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user