music: better fallback check to prevent queue mismatch
This commit is contained in:
		
							parent
							
								
									954754db8e
								
							
						
					
					
						commit
						cdf94b2fd2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue