diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index dec4b34..d47b572 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -29,8 +29,8 @@ android {
applicationId = "me.lecaro.breakout"
minSdk = 21
targetSdk = 34
- versionCode = 29060272
- versionName = "29060272"
+ versionCode = 29060283
+ versionName = "29060283"
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 8c1c10a..d653410 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 6dbae50..998b81b 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -1475,7 +1475,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("\"29060272\"");
+module.exports = JSON.parse("\"29060283\"");
},{}],"1u3Dx":[function(require,module,exports,__globalThis) {
var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
@@ -2930,7 +2930,8 @@ function resetCombo(gameState, x, y) {
return lost;
}
function increaseCombo(gameState, by, x, y) {
- if (by > 0) gameState.combo += by;
+ if (by <= 0) return;
+ gameState.combo += by;
if ((0, _options.isOptionOn)("comboIncreaseTexts") && typeof x !== "undefined" && typeof y !== "undefined") makeText(gameState, x, y, "gold", "+" + by, 25, 400 + by);
}
function decreaseCombo(gameState, by, x, y) {
diff --git a/src/PWA/sw-b71.js b/src/PWA/sw-b71.js
index 449cc53..dfcbdb4 100644
--- a/src/PWA/sw-b71.js
+++ b/src/PWA/sw-b71.js
@@ -1,5 +1,5 @@
// The version of the cache.
-const VERSION = "29060272";
+const VERSION = "29060283";
// The name of the cache
const CACHE_NAME = `breakout-71-${VERSION}`;
diff --git a/src/data/version.json b/src/data/version.json
index 016a6f9..5f5759c 100644
--- a/src/data/version.json
+++ b/src/data/version.json
@@ -1 +1 @@
-"29060272"
+"29060283"
diff --git a/src/gameStateMutators.ts b/src/gameStateMutators.ts
index 04b0b88..6358c8d 100644
--- a/src/gameStateMutators.ts
+++ b/src/gameStateMutators.ts
@@ -222,9 +222,10 @@ export function increaseCombo(
x: number,
y: number,
) {
- if (by > 0) {
- gameState.combo += by;
+ if (by <= 0) {
+ return;
}
+ gameState.combo += by;
if (
isOptionOn("comboIncreaseTexts") &&
typeof x !== "undefined" &&