You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix EXIT_SUCCESS on Android
This commit is contained in:
@@ -250,7 +250,7 @@ JNIEXPORT jboolean JNICALL Java_org_godotengine_godot_GodotLib_step(JNIEnv *env,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (step.get() == 1) {
|
if (step.get() == 1) {
|
||||||
if (!Main::start()) {
|
if (Main::start() != EXIT_SUCCESS) {
|
||||||
return true; // should exit instead and print the error
|
return true; // should exit instead and print the error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user