mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Fix broken tests due to badly reimplemented copy-pasted code
This commit is contained in:
parent
62ca3aada6
commit
d8e605d8aa
@ -72,10 +72,14 @@ namespace osu.Game.Skinning
|
||||
};
|
||||
|
||||
firstEventTime = beatmap?.Value.Storyboard.EarliestEventTime ?? 0;
|
||||
|
||||
if (drawableRuleset != null)
|
||||
{
|
||||
firstHitTime = drawableRuleset.Objects.First().StartTime;
|
||||
//TODO: this isn't always correct (consider mania where a non-last object may last for longer than the last in the list).
|
||||
lastHitTime = drawableRuleset.Objects.Last().GetEndTime() + 1;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user