mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix multiple instances of last hitobject time being calculated incorrectly
This commit is contained in:
@ -27,11 +27,8 @@ namespace osu.Game.Rulesets.Objects
|
||||
if (beatmap.HitObjects.Count == 0)
|
||||
return;
|
||||
|
||||
HitObject firstObject = beatmap.HitObjects.First();
|
||||
HitObject lastObject = beatmap.HitObjects.Last();
|
||||
|
||||
double firstHitTime = firstObject.StartTime;
|
||||
double lastHitTime = 1 + lastObject.GetEndTime();
|
||||
double firstHitTime = beatmap.HitObjects.First().StartTime;
|
||||
double lastHitTime = 1 + beatmap.GetLastObjectTime();
|
||||
|
||||
var timingPoints = beatmap.ControlPointInfo.TimingPoints;
|
||||
|
||||
|
Reference in New Issue
Block a user