mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 19:17:18 +09:00
Merge pull request #2622 from smoogipoo/fix-playlist-pause
Fix selecting song in playlist not starting the audio
This commit is contained in:
commit
9abde7e91a
@ -79,7 +79,10 @@ namespace osu.Game.Overlays.Music
|
||||
{
|
||||
BeatmapInfo beatmap = list.FirstVisibleSet?.Beatmaps?.FirstOrDefault();
|
||||
if (beatmap != null)
|
||||
{
|
||||
beatmapBacking.Value = beatmaps.GetWorkingBeatmap(beatmap);
|
||||
beatmapBacking.Value.Track.Restart();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -109,6 +112,7 @@ namespace osu.Game.Overlays.Music
|
||||
}
|
||||
|
||||
beatmapBacking.Value = beatmaps.GetWorkingBeatmap(set.Beatmaps.First());
|
||||
beatmapBacking.Value.Track.Restart();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user