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
This commit is contained in:
Aergwyn 2017-12-10 13:22:46 +01:00
parent ba29e99b54
commit e629cebe31
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ protected override void Update()
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