mirror of
https://github.com/ppy/osu.git
synced 2026-05-27 00:20:50 +08:00
Ensure running state is updated before performing Seek in GameplayClockContainer.Reset
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user