Skip to content

Commit 7c6e85d

Browse files
authored
Merge pull request godotengine#89887 from Alex2782/fix_exit_code_on_android
Fix `EXIT_SUCCESS` on Android
2 parents ccb1cb4 + 1a68f14 commit 7c6e85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/android/java_godot_lib_jni.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ JNIEXPORT jboolean JNICALL Java_org_godotengine_godot_GodotLib_step(JNIEnv *env,
250250
}
251251

252252
if (step.get() == 1) {
253-
if (!Main::start()) {
253+
if (Main::start() != EXIT_SUCCESS) {
254254
return true; // should exit instead and print the error
255255
}
256256

0 commit comments

Comments
 (0)