Make Debug Great Again

This commit is contained in:
MarcEricMartel
2023-12-06 12:08:44 -05:00
parent 6c7369a8be
commit 4841e8d5ba
2 changed files with 5 additions and 5 deletions

View File

@@ -1625,7 +1625,7 @@ void Engine::KeyPressEvent(unsigned char key) {
break;
case 36: // ESC - Quitter
if (m_networkgame)
break;
Stop();
if (m_gamestate == GameState::PLAY) {
m_gamestate = GameState::PAUSE;
}