fixed bug that you can't leave pause mode

This commit is contained in:
2025-11-28 22:47:44 +01:00
parent 39aae4b867
commit 44b74ddcbf

View File

@@ -69,6 +69,9 @@ public class KeyHandler implements KeyListener {
}
}
break;
case PAUSE:
if(code == KeyEvent.VK_ESCAPE) panel.gameState = GameState.PLAY;
break;
}
}