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