mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Remove excess parenthesis
This commit is contained in:
parent
709ec1404f
commit
fbebbab5db
@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Objects
|
||||
return;
|
||||
|
||||
HitObject lastObject = beatmap.HitObjects.Last();
|
||||
double lastHitTime = 1 + (lastObject.GetEndTime());
|
||||
double lastHitTime = 1 + lastObject.GetEndTime();
|
||||
|
||||
var timingPoints = beatmap.ControlPointInfo.TimingPoints;
|
||||
|
||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Screens.Play
|
||||
return;
|
||||
|
||||
var firstHit = objects.First().StartTime;
|
||||
var lastHit = objects.Max(o => (o.GetEndTime()));
|
||||
var lastHit = objects.Max(o => o.GetEndTime());
|
||||
|
||||
if (lastHit == 0)
|
||||
lastHit = objects.Last().StartTime;
|
||||
|
Loading…
Reference in New Issue
Block a user