From e629cebe31b02c5db828a8cfbce154a7b73af923 Mon Sep 17 00:00:00 2001 From: Aergwyn Date: Sun, 10 Dec 2017 13:22:46 +0100 Subject: [PATCH] fix MusicController ignoring Looping property of a Track my fix to prevent the MusicController from constantly trying to restart a track before accidentally removed this --- osu.Game/Overlays/MusicController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Overlays/MusicController.cs b/osu.Game/Overlays/MusicController.cs index b30ee8f6fc..b8f33c9a60 100644 --- a/osu.Game/Overlays/MusicController.cs +++ b/osu.Game/Overlays/MusicController.cs @@ -251,7 +251,7 @@ namespace osu.Game.Overlays playButton.Icon = track.IsRunning ? FontAwesome.fa_pause_circle_o : FontAwesome.fa_play_circle_o; - if (track.HasCompleted && !beatmapBacking.Disabled && playlist.BeatmapSets.Any()) + if (track.HasCompleted && !track.Looping && !beatmapBacking.Disabled && playlist.BeatmapSets.Any()) next(); } else