Quick fixes.

- Fixed a crash when closing the application in the ranking screen when viewing a score.
- Fixed a minor bug where OsuGroupList fields were not being erased upon restart.
- Dim the track volume by 50% when viewing a score.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-01-28 20:57:43 -05:00
parent ce15f25ca1
commit 2007058eb1
7 changed files with 48 additions and 15 deletions

View File

@@ -249,7 +249,7 @@ public class MainMenu extends BasicGameState {
// window focus change: increase/decrease theme song volume
if (MusicController.isThemePlaying() &&
MusicController.isTrackDimmed() == container.hasFocus())
MusicController.toggleTrackDimmed();
MusicController.toggleTrackDimmed(0.33f);
// fade in background
if (bgAlpha < 0.9f) {