2
0
Эх сурвалжийг харах

Merge pull request #89887 from Alex2782/fix_exit_code_on_android

Fix `EXIT_SUCCESS` on Android
Rémi Verschelde 1 жил өмнө
parent
commit
7c6e85de0d

+ 1 - 1
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
 		}