mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +08:00
Ensure EarlyActivationMilliseconds
is applied even in idle state
This commit is contained in:
parent
77bfe700e0
commit
98a1f40a98
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user