From e8ad3d640cde3844786365a67e5a5dc76ae435c7 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Thu, 1 Jun 2023 01:37:32 +0530 Subject: [PATCH] fix final bug and update changelog --- Export/android/app/src/main/AndroidManifest.xml | 2 +- src/touch/RestartButton.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Export/android/app/src/main/AndroidManifest.xml b/Export/android/app/src/main/AndroidManifest.xml index 71ac5660..2ed79be9 100644 --- a/Export/android/app/src/main/AndroidManifest.xml +++ b/Export/android/app/src/main/AndroidManifest.xml @@ -5,7 +5,7 @@ package="com.randomityguy.mbhaxe.mbp" android:installLocation="auto" android:versionCode="1" - android:versionName="1.0"> + android:versionName="1.5.0"> diff --git a/src/touch/RestartButton.hx b/src/touch/RestartButton.hx index 589f24cc..29f6e128 100644 --- a/src/touch/RestartButton.hx +++ b/src/touch/RestartButton.hx @@ -11,7 +11,7 @@ class RestartButton extends TouchButton { this.guiElement.horizSizing = Right; this.guiElement.vertSizing = Bottom; this.onClick = () -> { - if (MarbleGame.instance.world.finishTime == null) + if (MarbleGame.instance.world.finishTime == null && !MarbleGame.instance.paused) MarbleGame.instance.world.performRestart(); } }