mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09: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)
|
if (gameplayStartTime != null)
|
||||||
StartTime = gameplayStartTime;
|
StartTime = gameplayStartTime;
|
||||||
|
|
||||||
ensureSourceClockSet();
|
|
||||||
Seek(StartTime ?? 0);
|
|
||||||
|
|
||||||
// Manually stop the source in order to not affect the IsPaused state.
|
// Manually stop the source in order to not affect the IsPaused state.
|
||||||
AdjustableSource.Stop();
|
AdjustableSource.Stop();
|
||||||
|
|
||||||
if (!IsPaused.Value || startClock)
|
if (!IsPaused.Value || startClock)
|
||||||
Start();
|
Start();
|
||||||
|
|
||||||
|
ensureSourceClockSet();
|
||||||
|
Seek(StartTime ?? 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user