tweak(game over): en acabar la partida es torna al logo en lloc del títol
This commit is contained in:
@@ -484,7 +484,7 @@ auto GameScene::stepGameOver(float delta_time) -> bool {
|
|||||||
game_over_timer_ -= delta_time;
|
game_over_timer_ -= delta_time;
|
||||||
if (game_over_timer_ <= 0.0F) {
|
if (game_over_timer_ <= 0.0F) {
|
||||||
Audio::get()->stopMusic();
|
Audio::get()->stopMusic();
|
||||||
context_.setNextScene(SceneType::TITLE);
|
context_.setNextScene(SceneType::LOGO);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user