Fix pitch changes (hopefully)

This commit is contained in:
MatteoS
2015-11-16 21:21:28 +01:00
parent 13e0bdb81e
commit d0069c20e5
4 changed files with 17 additions and 12 deletions

View File

@@ -216,6 +216,13 @@ public class GamePauseMenu extends BasicGameState {
backButton.resetHover();
}
@Override
public void leave(GameContainer container, StateBasedGame game)
throws SlickException {
// reset pitch fade out
MusicController.pitchFadeOut(0);
}
/**
* Loads all game pause/fail menu images.
*/