mirror of
https://github.com/ppy/osu.git
synced 2025-02-25 23:52:54 +08:00
Fix storyboard sample playback failing when expected to play at 0ms
This commit is contained in:
parent
a8e83c5be5
commit
978636b90c
@ -51,7 +51,7 @@ namespace osu.Game.Storyboards.Drawables
|
||||
LifetimeStart = sampleInfo.StartTime;
|
||||
LifetimeEnd = double.MaxValue;
|
||||
}
|
||||
else if (Time.Current - Time.Elapsed < sampleInfo.StartTime)
|
||||
else if (Time.Current - Time.Elapsed <= sampleInfo.StartTime)
|
||||
{
|
||||
// We've passed the start time of the sample. We only play the sample if we're within an allowable range
|
||||
// from the sample's start, to reduce layering if we've been fast-forwarded far into the future
|
||||
|
Loading…
Reference in New Issue
Block a user