Fix play queue insertion bug

This commit is contained in:
Brahim Hadriche committed 2023-09-07 21:30:13 -04:00
1 parent 9dab7d9394
commit 0703d74e4b
1 file changed
+1 -1
@@ -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()