mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Move seekOffset back to MasterGameplayClockContainer
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user