@ -126,12 +128,17 @@ public class osuMapCombiner extends JPanel implements ActionListener{
mapdialog.openDialog();
}break;
case"Combine":{
intpane=JOptionPane.showConfirmDialog(f,"A marathon map with all "+model.getSize()+" maps will be created. The total duration of the marathon map will be "+
Math.floor(duration/1000)+"s long. Proceed?"
);
if(pane==JOptionPane.YES_OPTION){
Convert.Convert();
}
if(model.getSize()>=2){
intpane=JOptionPane.showConfirmDialog(f,"A marathon map with all "+model.getSize()+" maps will be created. The total duration of the marathon map will be "+
(int)Math.floor(duration/1000)+"s long. Proceed?"
);
if(pane==JOptionPane.YES_OPTION){
Convert.Convert();
}
}else{
button2.setEnabled(false);
JOptionPane.showMessageDialog(f,"You must have selected at least 2 songs to create a marathon map!");