mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix (legacy) AudioLeadIn being used incorrectly.
This lead-in is intended to specify a value before zero, not a value before the start time. Also removes an unnecessary ProcessFrame call (it happens within Seek itself).
This commit is contained in:
@ -95,8 +95,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
UserPlaybackRate.ValueChanged += _ => updateRate();
|
UserPlaybackRate.ValueChanged += _ => updateRate();
|
||||||
|
|
||||||
Seek(Math.Min(0, gameplayStartTime - beatmap.BeatmapInfo.AudioLeadIn));
|
Seek(Math.Min(-beatmap.BeatmapInfo.AudioLeadIn, gameplayStartTime));
|
||||||
adjustableClock.ProcessFrame();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Restart()
|
public void Restart()
|
||||||
|
Reference in New Issue
Block a user