mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:03:08 +08:00
Restart the current track when pressing PREVIOUS or NEXT rather than doing nothing
This commit is contained in:
parent
15a1dd14a6
commit
aec46a57c8
@ -159,7 +159,10 @@ namespace osu.Game.Overlays.Music
|
||||
private void playSpecified(BeatmapInfo info)
|
||||
{
|
||||
if (!canBeatmapChange)
|
||||
{
|
||||
beatmapBacking.Value?.Track?.Seek(0);
|
||||
return;
|
||||
}
|
||||
|
||||
beatmapBacking.Value = beatmaps.GetWorkingBeatmap(info, beatmapBacking);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user