Quick follow-up to #10.

Don't play a sound upon exiting.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2014-12-21 23:20:17 -05:00
parent 31d8b77217
commit ce8ae40f79

View File

@ -330,7 +330,6 @@ public class MainMenu extends BasicGameState {
SoundController.playSound(SoundController.SOUND_MENUHIT);
game.enterState(Opsu.STATE_SONGMENU, new FadeOutTransition(Color.black), new FadeInTransition(Color.black));
} else if (exitButton.contains(x, y)) {
SoundController.playSound(SoundController.SOUND_MENUHIT);
Options.saveOptions();
Opsu.closeSocket();
container.exit();