Fix EXIT_SUCCESS
on Android
This commit is contained in:
parent
ccb1cb4845
commit
1a68f1425d
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ JNIEXPORT jboolean JNICALL Java_org_godotengine_godot_GodotLib_step(JNIEnv *env,
|
|||
}
|
||||
|
||||
if (step.get() == 1) {
|
||||
if (!Main::start()) {
|
||||
if (Main::start() != EXIT_SUCCESS) {
|
||||
return true; // should exit instead and print the error
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue