Pārlūkot izejas kodu

[macOS] Return exit code specified by `OS.exit_code` parameter.

bruvzg 7 gadi atpakaļ
vecāks
revīzija
1a38449ab9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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();
 };