music: better fallback check to prevent queue mismatch

This commit is contained in:
Cynthia Foxwell 2022-04-21 19:55:39 -06:00
parent 954754db8e
commit cdf94b2fd2

View file

@ -233,7 +233,7 @@ async function enqueue(
media = url; media = url;
} }
if (connection.playing) { if (connection.playing || connection._music_queue.length > 0) {
connection._music_queue.push({ connection._music_queue.push({
url, url,
type, type,