mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 11:22:54 +08:00
Ensure running state is updated before performing Seek
in GameplayClockContainer.Reset
This commit is contained in:
parent
065bb60324
commit
808f0ecb74
@ -122,14 +122,14 @@ namespace osu.Game.Screens.Play
|
||||
if (gameplayStartTime != null)
|
||||
StartTime = gameplayStartTime;
|
||||
|
||||
ensureSourceClockSet();
|
||||
Seek(StartTime ?? 0);
|
||||
|
||||
// Manually stop the source in order to not affect the IsPaused state.
|
||||
AdjustableSource.Stop();
|
||||
|
||||
if (!IsPaused.Value || startClock)
|
||||
Start();
|
||||
|
||||
ensureSourceClockSet();
|
||||
Seek(StartTime ?? 0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user