Minor theme song fix.

Prevents a bug due to threading where the theme song can still be playing in the song menu (when songs are loaded) if the user clicks fast enough.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2015-01-29 03:57:55 -05:00
parent baba1540a5
commit 6fa8df955f

View File

@ -275,11 +275,9 @@ public class MusicController {
} }
/** /**
* Returns whether or not the current track, if any, is the theme song. * Returns whether or not the theme song is playing.
*/ */
public static boolean isThemePlaying() { public static boolean isThemePlaying() { return themePlaying; }
return (themePlaying && trackExists());
}
/** /**
* Returns whether or not the volume of the current track, if any, * Returns whether or not the volume of the current track, if any,