diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 98f2b41..9e9fd2b 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -11,8 +11,8 @@ android {
applicationId = "me.lecaro.breakout"
minSdk = 21
targetSdk = 34
- versionCode = 29046822
- versionName = "29046822"
+ versionCode = 29046953
+ versionName = "29046953"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html
index b201765..a878504 100644
--- a/app/src/main/assets/index.html
+++ b/app/src/main/assets/index.html
@@ -1 +1 @@
-
Breakout 71
\ No newline at end of file
+Breakout 71
\ No newline at end of file
diff --git a/dist/index.html b/dist/index.html
index ed0efea..3619f36 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -1368,7 +1368,7 @@ const upgrades = (0, _upgrades.rawUpgrades).map((u)=>({
}));
},{"./data/palette.json":"ktRBU","./data/levels.json":"8JSUc","./data/version.json":"iyP6E","./upgrades":"1u3Dx","./getLevelBackground":"7OIPf","./levelIcon":"6rQoT","@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}],"iyP6E":[function(require,module,exports,__globalThis) {
-module.exports = JSON.parse("\"29046822\"");
+module.exports = JSON.parse("\"29046953\"");
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
diff --git a/src/PWA/sw-b71.js b/src/PWA/sw-b71.js
index 514488a..0df0024 100644
--- a/src/PWA/sw-b71.js
+++ b/src/PWA/sw-b71.js
@@ -1,5 +1,5 @@
// The version of the cache.
-const VERSION = "29046822";
+const VERSION = "29046953";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;
diff --git a/src/data/version.json b/src/data/version.json
index a98579b..f27d44a 100644
--- a/src/data/version.json
+++ b/src/data/version.json
@@ -1 +1 @@
-"29046822"
+"29046953"
diff --git a/src/gameStateMutators.ts b/src/gameStateMutators.ts
index deb96bf..2786e35 100644
--- a/src/gameStateMutators.ts
+++ b/src/gameStateMutators.ts
@@ -438,12 +438,11 @@ export function explodeBrick(
if (
gameState.perks.nbricks &&
- ball.brokenSinceBounce == gameState.perks.nbricks+1
+ ball.brokenSinceBounce == gameState.perks.nbricks + 1
) {
resetCombo(gameState, ball.x, ball.y);
}
-
if (!isExplosion) {
// color change
if (
@@ -1445,7 +1444,7 @@ export function ballTick(gameState: GameState, ball: Ball, delta: number) {
}
if (
gameState.perks.nbricks &&
- ball.brokenSinceBounce< gameState.perks.nbricks
+ ball.brokenSinceBounce < gameState.perks.nbricks
) {
resetCombo(gameState, ball.x, ball.y);
}
@@ -1561,7 +1560,6 @@ export function ballTick(gameState: GameState, ball: Ball, delta: number) {
const initialBrickColor = gameState.bricks[hitBrick];
ball.brokenSinceBounce++;
-
explodeBrick(gameState, hitBrick, ball, false);
if (
ball.sapperUses < gameState.perks.sapper &&