From 1451327fcc2bf5c58b4763958a999493fba0b67e Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 13 Apr 2026 19:58:55 +0200 Subject: [PATCH] fix: la powerball sonava en la demo --- source/director.cpp | 2 +- source/game.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/director.cpp b/source/director.cpp index ad752a2..88362ac 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -401,7 +401,7 @@ void Director::initOptions() { // En Emscripten la ventana la gestiona el navegador options->windowSize = 1; options->videoMode = 0; - options->integerScale = false; + options->integerScale = true; #endif } diff --git a/source/game.cpp b/source/game.cpp index c11dc6d..3998cc7 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -1972,7 +1972,9 @@ void Game::destroyAllBalloons() { } enemyDeployCounter = 255; - JA_PlaySound(powerBallSound); + if (!demo.enabled) { + JA_PlaySound(powerBallSound); + } effect.flash = true; effect.shake = true; }