Skip to content

Commit 1a68f14

Browse files
committed
Fix EXIT_SUCCESS on Android
1 parent ccb1cb4 commit 1a68f14

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)