mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 03:02:56 +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>
|
/// </summary>
|
||||||
public virtual void Reset()
|
public virtual void Reset()
|
||||||
{
|
{
|
||||||
AdjustableSource.Seek(StartOffset);
|
Seek(StartOffset);
|
||||||
AdjustableSource.Stop();
|
|
||||||
|
|
||||||
|
// Manually stop the source in order to not affect the IsPaused state.
|
||||||
|
AdjustableSource.Stop();
|
||||||
|
|
||||||
if (!IsPaused.Value)
|
if (!IsPaused.Value)
|
||||||
Start();
|
Start();
|
||||||
|
Loading…
Reference in New Issue
Block a user