1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 13:27:23 +08:00

Fix incorrect value being set

This commit is contained in:
smoogipoo 2020-08-05 21:29:53 +09:00
parent 11a6c9bdcc
commit f058f5e977

View File

@ -654,7 +654,7 @@ namespace osu.Game.Screens.Select
BeatmapDetails.Beatmap = beatmap; BeatmapDetails.Beatmap = beatmap;
if (music?.CurrentTrack != null) if (music?.CurrentTrack != null)
music.CurrentTrack.Looping = false; music.CurrentTrack.Looping = true;
} }
private readonly WeakReference<ITrack> lastTrack = new WeakReference<ITrack>(null); private readonly WeakReference<ITrack> lastTrack = new WeakReference<ITrack>(null);