1
0
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:
MrTheMake 2017-06-19 17:33:58 +02:00
parent 15a1dd14a6
commit aec46a57c8

View File

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