Fix: mil minibugs relacionats amb el audio

This commit is contained in:
2024-12-26 10:39:48 +01:00
parent ca18baefd7
commit 7f444fef33
2 changed files with 20 additions and 8 deletions

View File

@@ -257,11 +257,14 @@ void Title::checkInput()
{
if (section::options == section::Options::TITLE_2 || ALLOW_TITLE_ANIMATION_SKIP)
{
fade_->activate();
JA_FadeOutMusic(1500);
JA_PlaySound(Resource::get()->getSound("game_start.wav"));
post_fade_ = controller.player_id;
return;
if (!fade_->isEnabled())
{
JA_PlaySound(Resource::get()->getSound("game_start.wav"));
JA_FadeOutMusic(1500);
fade_->activate();
post_fade_ = controller.player_id;
return;
}
}
}