Fix play queue insertion bug
This commit is contained in:
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.queue.push(node)
|
||||||
m.top.index = m.queue.Count() - 1
|
m.top.index = m.queue.Count() - 1
|
||||||
else
|
else
|
||||||
ArrayUtils.Insert(m.queue, m.top.index, node)
|
ArrayUtils.Insert(m.queue, node, m.top.index)
|
||||||
end if
|
end if
|
||||||
|
|
||||||
PlayItemAtCurrentIndex()
|
PlayItemAtCurrentIndex()
|
||||||
|
|||||||
Reference in new issue
Block a user