Fixed SongInstanceDifficultyButtons and added colors

This commit is contained in:
2015-06-04 14:17:11 +02:00
parent 5f8e7706f2
commit 8f8a42e9ce
2 changed files with 9 additions and 5 deletions
+2
View File
@@ -15,6 +15,8 @@ public class AudioPlayer {
public void setClip(Song s) {
try {
if(clip!=null)
clip.close();
clip = null;
AudioInputStream ais = s.getAudioStream();
AudioFormat baseFormat = ais.getFormat();