Browse Source

Merge pull request #17777 from bruvzg/macos_exit_code

[macOS] Return exit code specified by `OS.exit_code` parameter.
Rémi Verschelde 7 years ago
parent
commit
7e9aa89fb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/osx/godot_main_osx.mm

+ 1 - 1
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();
 };