plays music when music is selected whether originally paused or not
This commit is contained in:
		@@ -282,11 +282,8 @@ public class MusicSelectionPage extends Page implements Observer {
 | 
			
		||||
	public void playCurrentMusic() {
 | 
			
		||||
		if (currentlySelected.getMusicFile() != mc.getCurrentMusicManager().getMusicFile()) {
 | 
			
		||||
			int index = mc.getMusicList().getSongList().indexOf(currentlySelected.getMusicFile(), true);
 | 
			
		||||
			boolean playing = mc.getCurrentMusicManager().isPlaying();
 | 
			
		||||
			mc.setMusicByIndex(index);
 | 
			
		||||
			if (playing) {
 | 
			
		||||
				mc.play();
 | 
			
		||||
			}
 | 
			
		||||
			mc.play();
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user