From f70f99399997ad970ef17ec55043edd0171094f8 Mon Sep 17 00:00:00 2001 From: Raymonf Date: Sun, 13 Jul 2014 17:53:56 +0200 Subject: [PATCH] Logo click changes on Main Menu Makes clicking the logo more similar to the real osu! game, where the Play options show when you click the logo the second time (after it was clicked first). --- src/itdelatrisu/opsu/states/MainMenu.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/itdelatrisu/opsu/states/MainMenu.java b/src/itdelatrisu/opsu/states/MainMenu.java index b677cd57..5ac9a3a7 100644 --- a/src/itdelatrisu/opsu/states/MainMenu.java +++ b/src/itdelatrisu/opsu/states/MainMenu.java @@ -322,10 +322,7 @@ public class MainMenu extends BasicGameState { // other button actions (if visible) else if (logoClicked) { - if (logo.contains(x, y)) { - SoundController.playSound(SoundController.SOUND_MENUHIT); - logoTimer = MOVE_DELAY; - } else if (playButton.contains(x, y)) { + if (logo.contains(x, y) || playButton.contains(x, y)) { SoundController.playSound(SoundController.SOUND_MENUHIT); game.enterState(Opsu.STATE_SONGMENU, new FadeOutTransition(Color.black), new FadeInTransition(Color.black)); } else if (exitButton.contains(x, y)) {