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:
parent
31d8b77217
commit
ce8ae40f79
|
@ -330,7 +330,6 @@ public class MainMenu extends BasicGameState {
|
||||||
SoundController.playSound(SoundController.SOUND_MENUHIT);
|
SoundController.playSound(SoundController.SOUND_MENUHIT);
|
||||||
game.enterState(Opsu.STATE_SONGMENU, new FadeOutTransition(Color.black), new FadeInTransition(Color.black));
|
game.enterState(Opsu.STATE_SONGMENU, new FadeOutTransition(Color.black), new FadeInTransition(Color.black));
|
||||||
} else if (exitButton.contains(x, y)) {
|
} else if (exitButton.contains(x, y)) {
|
||||||
SoundController.playSound(SoundController.SOUND_MENUHIT);
|
|
||||||
Options.saveOptions();
|
Options.saveOptions();
|
||||||
Opsu.closeSocket();
|
Opsu.closeSocket();
|
||||||
container.exit();
|
container.exit();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user