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

@ -334,11 +334,11 @@ void Server::Run() {
delete chmo; delete chmo;
} }
for (auto& bull : outbox_bullets) //for (auto& bull : outbox_bullets)
delete bull; //delete bull;
for (auto& bull : netbull) //for (auto& bull : netbull)
delete bull; //delete bull;
outbox_bullets.clear(); outbox_bullets.clear();
netbull.clear(); netbull.clear();

View File

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