소스 검색

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

bruvzg 7 년 전
부모
커밋
1a38449ab9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
 };