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

View File

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