This commit is contained in:
Thomas 2022-01-10 14:52:09 +01:00
parent 7e3de18419
commit 04e7b7da94
No known key found for this signature in database
GPG Key ID: E538821A6CDFDAD7

View File

@ -69,10 +69,11 @@ void Game::managedGames() {
if(playMode==PlayMode::NONE){ if(playMode==PlayMode::NONE){
playMode = pm->showInitialMenu(); playMode = pm->showInitialMenu();
}else{ }else{
DEBUG_MSG("Starting game")
initGame(); initGame();
enterGameLoop(); // will read the playMode enterGameLoop(); // will read the playMode
DEBUG_MSG("END End of game")
handleScoreSaving(); handleScoreSaving();
cout << "END OF GAME" << endl;
if(!pm->showDeathMenu())playMode = PlayMode::NONE; if(!pm->showDeathMenu())playMode = PlayMode::NONE;
} }
} }