From fcd376bdcbe6a2f10be6f084531a5bb6717f2a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=BCller?= Date: Wed, 13 Apr 2022 11:24:59 +0200 Subject: [PATCH] fix Queue Loop Current track not prepending on enable but appending --- TomatenMusicCore/Music/PlayerQueue.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TomatenMusicCore/Music/PlayerQueue.cs b/TomatenMusicCore/Music/PlayerQueue.cs index b8ca3cf..b3802f8 100644 --- a/TomatenMusicCore/Music/PlayerQueue.cs +++ b/TomatenMusicCore/Music/PlayerQueue.cs @@ -157,8 +157,7 @@ namespace TomatenMusic.Music if (type == LoopType.QUEUE) { - QueueLoopList = new List(Queue); - QueueLoopList.Add(LastTrack); + QueueLoopList = new List(QueueLoopList.Prepend(LastTrack)); } } }