1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

fixed gExitCode

This commit is contained in:
Lomash Gupta
2019-10-05 12:57:07 -04:00
committed by Tulio Leao
parent d798811c4a
commit 36840f3fe0
5 changed files with 13 additions and 13 deletions

View File

@@ -27,7 +27,9 @@ int main(int argc, const char** argv)
// Run OpenRCT2 with a plain context
auto context = CreateContext();
context->RunOpenRCT2(argc, argv);
if((context->RunOpenRCT2(argc, argv)) == EXIT_SUCCESS) {
return EXIT_SUCCESS;
}
}
return gExitCode;
return EXIT_FAILURE;
}