diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index cbbd740..f15043b 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 = 29044306
- versionName = "29044306"
+ versionCode = 29044319
+ versionName = "29044319"
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 02bfd2c..c3c03fb 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 a1e27c1..0a699d2 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -1271,7 +1271,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("\"29044306\"");
+module.exports = JSON.parse("\"29044319\"");
},{}],"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 7160090..da13334 100644
--- a/src/PWA/sw-b71.js
+++ b/src/PWA/sw-b71.js
@@ -1,5 +1,5 @@
// The version of the cache.
-const VERSION = "29044306";
+const VERSION = "29044319";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;
diff --git a/src/data/version.json b/src/data/version.json
index f6988b2..4b6c968 100644
--- a/src/data/version.json
+++ b/src/data/version.json
@@ -1 +1 @@
-"29044306"
+"29044319"
diff --git a/src/gameStateMutators.ts b/src/gameStateMutators.ts
index 60ff36b..8edb915 100644
--- a/src/gameStateMutators.ts
+++ b/src/gameStateMutators.ts
@@ -251,14 +251,11 @@ export function explosionAt(
y: number,
ball: Ball,
) {
-
- const size = 1 + gameState.perks.bigger_explosions;
+ const size = 1 + gameState.perks.bigger_explosions;
schedulGameSound(gameState, "explode", ball.x, 1);
- if(index!==-1){
-
+ if (index !== -1) {
if (gameState.bricks[index] == "black") delete gameState.bricks[index];
-
const col = index % gameState.gridSize;
const row = Math.floor(index / gameState.gridSize);
// Break bricks around
@@ -276,7 +273,6 @@ export function explosionAt(
}
}
}
-
}
// Blow nearby coins
forEachLiveOne(gameState.coins, (c) => {
@@ -1001,7 +997,7 @@ export function gameStateTick(
clamp(b.y - y, -limit, limit) +
((Math.random() - 0.5) * limit) / 3;
- let index = brickIndex(x, y);
+ let index = brickIndex(x, y);
explosionAt(gameState, index, x, y, a);
}
}),