1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix EXIT_SUCCESS on Android

This commit is contained in:
Alexander Hartmann
2024-03-25 17:50:02 +01:00
parent ccb1cb4845
commit 1a68f1425d

View File

@@ -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
}