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:
parent
baba1540a5
commit
6fa8df955f
|
@ -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() {
|
||||
return (themePlaying && trackExists());
|
||||
}
|
||||
public static boolean isThemePlaying() { return themePlaying; }
|
||||
|
||||
/**
|
||||
* Returns whether or not the volume of the current track, if any,
|
||||
|
|
Loading…
Reference in New Issue
Block a user