mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Use correct effect points when EarlyActivationMilliseconds is not zero
This commit is contained in:
@ -111,7 +111,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
if (clock == null)
|
if (clock == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
double currentTrackTime = clock.CurrentTime;
|
double currentTrackTime = clock.CurrentTime + EarlyActivationMilliseconds;
|
||||||
|
|
||||||
if (Beatmap.Value.TrackLoaded && Beatmap.Value.BeatmapLoaded)
|
if (Beatmap.Value.TrackLoaded && Beatmap.Value.BeatmapLoaded)
|
||||||
{
|
{
|
||||||
@ -132,13 +132,11 @@ namespace osu.Game.Graphics.Containers
|
|||||||
{
|
{
|
||||||
// this may be the case where the beat syncing clock has been paused.
|
// this may be the case where the beat syncing clock has been paused.
|
||||||
// we still want to show an idle animation, so use this container's time instead.
|
// we still want to show an idle animation, so use this container's time instead.
|
||||||
currentTrackTime = Clock.CurrentTime;
|
currentTrackTime = Clock.CurrentTime + EarlyActivationMilliseconds;
|
||||||
timingPoint = TimingControlPoint.DEFAULT;
|
timingPoint = TimingControlPoint.DEFAULT;
|
||||||
effectPoint = EffectControlPoint.DEFAULT;
|
effectPoint = EffectControlPoint.DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
currentTrackTime += EarlyActivationMilliseconds;
|
|
||||||
|
|
||||||
double beatLength = timingPoint.BeatLength / Divisor;
|
double beatLength = timingPoint.BeatLength / Divisor;
|
||||||
|
|
||||||
while (beatLength < MinimumBeatLength)
|
while (beatLength < MinimumBeatLength)
|
||||||
|
Reference in New Issue
Block a user