1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

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