close the logo instead of exiting when pressing esc during logo opening time

This commit is contained in:
yugecin 2018-07-07 10:04:33 +02:00
parent fd827fae29
commit 9d6ac19868
No known key found for this signature in database
GPG Key ID: 2C5AC035A7068E44

View File

@ -749,7 +749,7 @@ public class MainMenu extends BaseOpsuState {
switch (key) {
case KEY_ESCAPE:
case KEY_Q:
if (logoTimer > 0) {
if (logoState == LogoState.OPEN || logoState == LogoState.OPENING) {
this.closeLogo();
break;
}