1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:49:53 +08:00

Seek using local method

This commit is contained in:
smoogipoo
2021-04-20 17:36:24 +09:00
Unverified
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();