diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 626ecdc..da82dc7 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 = 29008583 - versionName = "29008583" + versionCode = 29009918 + versionName = "29009918" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary = true diff --git a/app/src/main/assets/game.js b/app/src/main/assets/game.js index 472dbe5..2988d68 100644 --- a/app/src/main/assets/game.js +++ b/app/src/main/assets/game.js @@ -1032,7 +1032,7 @@ function tick() { decreaseCombo(perks.hot_start, puck, gameZoneHeight - 2 * puckHeight); } - if (remainingBricks < perks.skip_last) { + if (remainingBricks <= perks.skip_last) { bricks.forEach((type, index) => { if (type) { explodeBrick(index, balls[0], true); @@ -2594,6 +2594,17 @@ Click an item above to start a test run with it. allowClose: true, }) if (tryOn) { + if(!currentLevel || await asyncAlert({ + title:'Restart run to try this item?', + text:'You\'re about to start a new test run with just the selected unlocked item, is that really what you wanted ? ', + actions:[{ + value: true, + text:'Restart game to test item' + },{ + value:false, + text:'Cancel' + }] + })) nextRunOverrides = tryOn restart() } diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html index 0613862..0e31189 100644 --- a/app/src/main/assets/index.html +++ b/app/src/main/assets/index.html @@ -8,17 +8,17 @@ />