diff --git a/playlet-lib/src/components/PlayQueue/PlayQueue.bs b/playlet-lib/src/components/PlayQueue/PlayQueue.bs index 702559f7..6ca440a1 100644 --- a/playlet-lib/src/components/PlayQueue/PlayQueue.bs +++ b/playlet-lib/src/components/PlayQueue/PlayQueue.bs @@ -23,7 +23,7 @@ function Play(node as object, playlistIndex as integer) m.queue.push(node) m.top.index = m.queue.Count() - 1 else - ArrayUtils.Insert(m.queue, m.top.index, node) + ArrayUtils.Insert(m.queue, node, m.top.index) end if PlayItemAtCurrentIndex()