From ce8ae40f7939515d66692f8be671b68e751b5596 Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Sun, 21 Dec 2014 23:20:17 -0500 Subject: [PATCH] Quick follow-up to #10. Don't play a sound upon exiting. Signed-off-by: Jeffrey Han --- src/itdelatrisu/opsu/states/MainMenu.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/itdelatrisu/opsu/states/MainMenu.java b/src/itdelatrisu/opsu/states/MainMenu.java index 3c42caab..43abdc62 100644 --- a/src/itdelatrisu/opsu/states/MainMenu.java +++ b/src/itdelatrisu/opsu/states/MainMenu.java @@ -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();