mainmenu: perform logo click effect when clicking it in open state

This commit is contained in:
yugecin 2018-07-08 11:14:22 +02:00
parent f85b4ec526
commit 3d4631660c
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44

View File

@ -807,6 +807,7 @@ public class MainMenu extends BaseOpsuState {
}
} else {
if (logoHovered || this.buttonPositions[0].contains(x, y, 0.25f)) {
this.logoClickScale.setTime(0);
SoundController.playSound(SoundEffect.MENUHIT);
enterSongMenu();
return true;