Make Debug Great Again
This commit is contained in:
parent
6c7369a8be
commit
4841e8d5ba
@ -334,11 +334,11 @@ void Server::Run() {
|
||||
delete chmo;
|
||||
}
|
||||
|
||||
for (auto& bull : outbox_bullets)
|
||||
delete bull;
|
||||
//for (auto& bull : outbox_bullets)
|
||||
//delete bull;
|
||||
|
||||
for (auto& bull : netbull)
|
||||
delete bull;
|
||||
//for (auto& bull : netbull)
|
||||
//delete bull;
|
||||
|
||||
outbox_bullets.clear();
|
||||
netbull.clear();
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user