🐛 Fix trackChanged event

This commit is contained in:
Androz2091 2020-06-25 18:03:37 +02:00
parent ef27a34a30
commit d47be162d7

View file

@ -921,7 +921,7 @@ class Player {
this._playYTDLStream(queue, false).then(() => {
// Emit trackChanged event
if (!firstPlay) {
queue.emit('trackChanged', nowPlaying, wasPlaying, queue.lastSkipped, queue.repeatMode)
queue.emit('trackChanged', wasPlaying, nowPlaying, queue.lastSkipped, queue.repeatMode)
}
})
}