Skip to content

Commit

Permalink
Fix EXIT_SUCCESS on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex2782 committed Mar 24, 2024
1 parent 99ff024 commit 65f68fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/macos/godot_main_macos.mm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int main(int argc, char **argv) {
@autoreleasepool {
ret = Main::start();
}
if (ret) {
if (ret == EXIT_SUCCESS) {
os.run();
} else {
os.set_exit_code(EXIT_FAILURE);
Expand Down

0 comments on commit 65f68fd

Please sign in to comment.