From a4642c59fe43c7e828540dc26050295ab402762b Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 25 Oct 2016 13:29:09 +0200 Subject: [PATCH] !!sh should be fixed --- src/NadekoBot/Modules/Music/Classes/MusicControls.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Music/Classes/MusicControls.cs b/src/NadekoBot/Modules/Music/Classes/MusicControls.cs index a918fc11..53a2c736 100644 --- a/src/NadekoBot/Modules/Music/Classes/MusicControls.cs +++ b/src/NadekoBot/Modules/Music/Classes/MusicControls.cs @@ -188,7 +188,9 @@ namespace NadekoBot.Modules.Music.Classes { actionQueue.Enqueue(() => { - playlist.Shuffle(); + var oldPlaylist = playlist.ToArray(); + playlist.Clear(); + playlist.AddRange(oldPlaylist.Shuffle()); }); }