delta-time: explosions.cpp

This commit is contained in:
2025-09-16 22:43:16 +02:00
parent a15e29344f
commit 3e6cc9dfab
4 changed files with 17 additions and 6 deletions

View File

@@ -616,12 +616,12 @@ void Credits::updateAllFades(float deltaTime) {
updateRedRect();
}
fade_in_->update(); // Fade aún no migrado a deltaTime
fade_in_->update(); // Fade ya usa tiempo interno
if (fade_in_->hasEnded()) {
Audio::get()->playMusic("credits.ogg");
}
fade_out_->update(); // Fade aún no migrado a deltaTime
fade_out_->update(); // Fade ya usa tiempo interno
if (fade_out_->hasEnded()) {
Section::name = Section::Name::HI_SCORE_TABLE;
}