al acabar la partida i vore els records, torna al titol

This commit is contained in:
2025-03-15 19:53:57 +01:00
parent a6d115342c
commit c2c55707c3
4 changed files with 9 additions and 5 deletions

View File

@@ -176,7 +176,10 @@ void HiScoreTable::updateFade()
if (fade_->hasEnded() && fade_mode_ == FadeMode::OUT)
{
section::name = section::Name::INSTRUCTIONS;
section::name = (section::options == section::Options::HI_SCORE_AFTER_GAME_OVER)
? section::Name::TITLE
: section::Name::INSTRUCTIONS;
section::options = section::Options::NONE;
}
}