mirror of https://github.com/ppy/osu
Fix incorrect current DS value when inside a slider
This commit is contained in:
parent
f6de366766
commit
bb921ff9a7
|
@ -106,7 +106,7 @@ private void load(OverlayColourProvider colourProvider)
|
|||
|
||||
private (HitObject before, HitObject after)? getObjectsOnEitherSideOfCurrentTime()
|
||||
{
|
||||
HitObject lastBefore = Playfield.HitObjectContainer.AliveObjects.LastOrDefault(h => h.HitObject.GetEndTime() <= EditorClock.CurrentTime)?.HitObject;
|
||||
HitObject lastBefore = Playfield.HitObjectContainer.AliveObjects.LastOrDefault(h => h.HitObject.StartTime <= EditorClock.CurrentTime)?.HitObject;
|
||||
|
||||
if (lastBefore == null)
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue