a
This commit is contained in:
parent
7e3de18419
commit
04e7b7da94
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user