mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fix broken tests due to badly reimplemented copy-pasted code
This commit is contained in:
@ -72,10 +72,14 @@ namespace osu.Game.Skinning
|
|||||||
};
|
};
|
||||||
|
|
||||||
firstEventTime = beatmap?.Value.Storyboard.EarliestEventTime ?? 0;
|
firstEventTime = beatmap?.Value.Storyboard.EarliestEventTime ?? 0;
|
||||||
|
|
||||||
|
if (drawableRuleset != null)
|
||||||
|
{
|
||||||
firstHitTime = drawableRuleset.Objects.First().StartTime;
|
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).
|
//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;
|
lastHitTime = drawableRuleset.Objects.Last().GetEndTime() + 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user