Fix RepeatSong/RepeatPlaylist bug

bug where song would be added to the queue at the last index when repeatplaylist was enabled + repeatsong, as the actionqueue events are not mutually independent
This commit is contained in:
Shikhir Arora 2017-03-26 12:16:17 -04:00
parent 3604f6a247
commit 529343ceb6

View File

@ -163,7 +163,7 @@ namespace NadekoBot.Modules.Music.Classes
}
if (RepeatPlaylist)
if (RepeatPlaylist & !RepeatSong)
AddSong(CurrentSong, CurrentSong.QueuerName);
if (RepeatSong)