Move seekOffset back to MasterGameplayClockContainer

This commit is contained in:
smoogipoo
2021-04-20 18:25:46 +09:00
parent a683e5ec34
commit ec080fcb32
2 changed files with 10 additions and 9 deletions

View File

@ -29,11 +29,6 @@ namespace osu.Game.Screens.Play
/// </summary>
protected readonly DecoupleableInterpolatingFramedClock AdjustableSource;
/// <summary>
/// The offset at which to start playing. Affects the time which the clock is reset to via <see cref="Reset"/>.
/// </summary>
protected virtual double StartOffset => 0;
/// <summary>
/// The source clock.
/// </summary>
@ -105,7 +100,7 @@ namespace osu.Game.Screens.Play
/// </summary>
public virtual void Reset()
{
Seek(StartOffset);
Seek(0);
// Manually stop the source in order to not affect the IsPaused state.
AdjustableSource.Stop();