diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-04-04 22:35:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 22:35:40 +0200 |
commit | 7e9aa89fb810bf3db398b4ac1a094d13cdba9183 (patch) | |
tree | f5eca685937680720e8444551a64b580e51daab8 | |
parent | e223702776a7631293426e40d6f8d3a6240bb1b5 (diff) | |
parent | 1a38449ab90bbbad671e1acfa54ba98e3717daad (diff) |
Merge pull request #17777 from bruvzg/macos_exit_code
[macOS] Return exit code specified by `OS.exit_code` parameter.
-rw-r--r-- | platform/osx/godot_main_osx.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/godot_main_osx.mm b/platform/osx/godot_main_osx.mm index 6ccbaf896b..64116fa1e0 100644 --- a/platform/osx/godot_main_osx.mm +++ b/platform/osx/godot_main_osx.mm @@ -101,5 +101,5 @@ int main(int argc, char **argv) { Main::cleanup(); - return 0; + return os.get_exit_code(); }; |