mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:47:52 +08:00
Remove null check that is not required anymore
This commit is contained in:
parent
b80204642e
commit
df9de7a8dd
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user