From 10997f8850285533873e5cd9bb2ae8a9fafd5480 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sat, 15 Mar 2025 20:34:26 +0100 Subject: [PATCH] al fer reset desde Game, en Intro no sona la musica. Bypassejat obligant a recarregar sempre que fas reset --- source/director.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/director.cpp b/source/director.cpp index 2c8ffc4..d82fc3f 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -708,7 +708,9 @@ void Director::runDemoGame() // Ejecuta la sección init void Director::runInit() { - if (section::options == section::Options::RELOAD) + JA_StopMusic(); + JA_StopChannel(-1); + if (section::options == section::Options::RELOAD || true) { Resource::get()->reload(); }