mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Seek using local method
This commit is contained in:
parent
97fb90d9f4
commit
a683e5ec34
@ -105,9 +105,10 @@ namespace osu.Game.Screens.Play
|
||||
/// </summary>
|
||||
public virtual void Reset()
|
||||
{
|
||||
AdjustableSource.Seek(StartOffset);
|
||||
AdjustableSource.Stop();
|
||||
Seek(StartOffset);
|
||||
|
||||
// Manually stop the source in order to not affect the IsPaused state.
|
||||
AdjustableSource.Stop();
|
||||
|
||||
if (!IsPaused.Value)
|
||||
Start();
|
||||
|
Loading…
Reference in New Issue
Block a user