1
0
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:
smoogipoo 2021-04-20 17:36:24 +09:00
parent 97fb90d9f4
commit a683e5ec34

View File

@ -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();