fix final bug and update changelog

This commit is contained in:
RandomityGuy 2023-06-01 01:37:32 +05:30
parent 7e5a9c0623
commit e8ad3d640c
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
package="com.randomityguy.mbhaxe.mbp"
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0">
android:versionName="1.5.0">
<!-- Tell the system this app requires OpenGL ES 3.0. -->
<uses-feature android:glEsVersion="0x00030000" android:required="true" />

View file

@ -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();
}
}