diff --git a/osu.Game/Screens/Select/PlaySongSelect.cs b/osu.Game/Screens/Select/PlaySongSelect.cs index a3fe6e3fe7..760de63b0e 100644 --- a/osu.Game/Screens/Select/PlaySongSelect.cs +++ b/osu.Game/Screens/Select/PlaySongSelect.cs @@ -57,9 +57,19 @@ namespace osu.Game.Screens.Select { beatmap?.Mods.BindTo(modSelect.SelectedMods); - if (Beatmap != null && Beatmap.Track != null) Beatmap.Track.Looping = false; + if (Beatmap != null) + { + if (Beatmap.Track != null) + Beatmap.Track.Looping = false; + } + beatmapDetails.Beatmap = beatmap; - if(beatmap != null && beatmap.Track != null) beatmap.Track.Looping = true; + + if (beatmap != null) + { + if (beatmap.Track != null) + beatmap.Track.Looping = false; + } base.OnBeatmapChanged(beatmap); } @@ -90,7 +100,10 @@ namespace osu.Game.Screens.Select if (base.OnExiting(next)) return true; - if(Beatmap != null && Beatmap.Track != null) Beatmap.Track.Looping = false; + if (Beatmap != null) { + if(Beatmap.Track != null) + Beatmap.Track.Looping = false; + } return false; }