diff options
author | Alexander Hartmann <alex.hart.278@gmail.com> | 2024-03-25 17:50:02 +0100 |
---|---|---|
committer | Alexander Hartmann <alex.hart.278@gmail.com> | 2024-03-25 17:50:02 +0100 |
commit | 1a68f1425d7f7197de366bbec1c848d9f40de584 (patch) | |
tree | 1b6f4b292b39692f4680e9e9874f3d6451372306 | |
parent | ccb1cb4845c3a70c5e54d1690bdf14024095ab35 (diff) | |
download | redot-engine-1a68f1425d7f7197de366bbec1c848d9f40de584.tar.gz |
Fix `EXIT_SUCCESS` on Android
-rw-r--r-- | platform/android/java_godot_lib_jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/java_godot_lib_jni.cpp b/platform/android/java_godot_lib_jni.cpp index 85d5cf2796..2215f706c5 100644 --- a/platform/android/java_godot_lib_jni.cpp +++ b/platform/android/java_godot_lib_jni.cpp @@ -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 } |