Ensure EarlyActivationMilliseconds is applied even in idle state

This commit is contained in:
Dean Herbert
2021-07-15 15:10:14 +09:00
parent 77bfe700e0
commit 98a1f40a98

View File

@ -97,7 +97,7 @@ namespace osu.Game.Graphics.Containers
if (clock == null) if (clock == null)
return; return;
double currentTrackTime = clock.CurrentTime + EarlyActivationMilliseconds; double currentTrackTime = clock.CurrentTime;
if (Beatmap.Value.TrackLoaded && Beatmap.Value.BeatmapLoaded) if (Beatmap.Value.TrackLoaded && Beatmap.Value.BeatmapLoaded)
{ {
@ -123,7 +123,7 @@ namespace osu.Game.Graphics.Containers
effectPoint = EffectControlPoint.DEFAULT; effectPoint = EffectControlPoint.DEFAULT;
} }
Debug.Assert(timingPoint != null); currentTrackTime += EarlyActivationMilliseconds;
double beatLength = timingPoint.BeatLength / Divisor; double beatLength = timingPoint.BeatLength / Divisor;