|
@@ -67,10 +67,11 @@ function onExit()
|
|
|
ModuleDatabase.unloadExplicit( "AppCore" );
|
|
|
}
|
|
|
|
|
|
-function androidBackButton()
|
|
|
+function androidBackButton(%val)
|
|
|
{
|
|
|
//You will want to change this for your game. Android users expect the
|
|
|
//back button to go back until you reach main menu then it should quit app
|
|
|
- quit();
|
|
|
+ if (%val)
|
|
|
+ quit();
|
|
|
|
|
|
}
|