fix: la powerball sonava en la demo

This commit is contained in:
2026-04-13 19:58:55 +02:00
parent a035fecb04
commit 1451327fcc
2 changed files with 4 additions and 2 deletions

View File

@@ -401,7 +401,7 @@ void Director::initOptions() {
// En Emscripten la ventana la gestiona el navegador // En Emscripten la ventana la gestiona el navegador
options->windowSize = 1; options->windowSize = 1;
options->videoMode = 0; options->videoMode = 0;
options->integerScale = false; options->integerScale = true;
#endif #endif
} }

View File

@@ -1972,7 +1972,9 @@ void Game::destroyAllBalloons() {
} }
enemyDeployCounter = 255; enemyDeployCounter = 255;
if (!demo.enabled) {
JA_PlaySound(powerBallSound); JA_PlaySound(powerBallSound);
}
effect.flash = true; effect.flash = true;
effect.shake = true; effect.shake = true;
} }