1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Remove null check that is not required anymore

This commit is contained in:
ekrctb 2020-12-09 10:28:42 +09:00
parent b80204642e
commit df9de7a8dd

View File

@ -47,7 +47,7 @@ namespace osu.Game.Rulesets.Catch.Skinning.Default
protected override void Update()
{
if (BorderPiece != null && ObjectState?.HitObject != null)
if (BorderPiece != null)
BorderPiece.Alpha = (float)Math.Clamp((ObjectState.HitObject.StartTime - Time.Current) / 500, 0, 1);
}
}