1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

Remove redundant parentheses

This commit is contained in:
Bartłomiej Dach 2023-06-22 20:02:10 +02:00
parent 4ff5275208
commit 79606317ab
No known key found for this signature in database

View File

@ -113,7 +113,7 @@ namespace osu.Game.Rulesets.UI
private bool isAlreadyHit(HitObjectLifetimeEntry h) => h.Result?.HasResult == true;
private bool isCloseEnoughToCurrentTime(HitObject h) => getReferenceTime() >= h.StartTime - h.HitWindows.WindowFor(HitResult.Miss) * 2;
private double getReferenceTime() => (gameplayClock?.CurrentTime ?? Clock.CurrentTime);
private double getReferenceTime() => gameplayClock?.CurrentTime ?? Clock.CurrentTime;
private IEnumerable<HitObject> getAllNested(HitObject hitObject)
{