From 1fa87521f60a1eedec5eb4319a35ba2ff83739d9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 26 Jan 2019 07:29:30 +0100 Subject: [PATCH] fix restarting with a different track in the same BeatmapSet --- osu.Game/Screens/Select/SongSelect.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/Select/SongSelect.cs b/osu.Game/Screens/Select/SongSelect.cs index 10489c5193..41b4f29939 100644 --- a/osu.Game/Screens/Select/SongSelect.cs +++ b/osu.Game/Screens/Select/SongSelect.cs @@ -399,7 +399,6 @@ namespace osu.Game.Screens.Select { Logger.Log($"beatmap changed from \"{Beatmap.Value.BeatmapInfo}\" to \"{beatmap}\""); - preview = beatmap?.BeatmapSetInfoID != Beatmap.Value?.BeatmapInfo.BeatmapSetInfoID; Beatmap.Value = beatmaps.GetWorkingBeatmap(beatmap, Beatmap.Value); if (beatmap != null) @@ -411,7 +410,8 @@ namespace osu.Game.Screens.Select } } - if (IsCurrentScreen) ensurePlayingSelected(preview); + if (IsCurrentScreen) + ensurePlayingSelected(true); UpdateBeatmap(Beatmap.Value); }