mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
Fix EXIT_SUCCESS
on MacOS
This commit is contained in:
parent
99ff024f78
commit
65f68fda54
@ -80,7 +80,7 @@ int main(int argc, char **argv) {
|
|||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
ret = Main::start();
|
ret = Main::start();
|
||||||
}
|
}
|
||||||
if (ret) {
|
if (ret == EXIT_SUCCESS) {
|
||||||
os.run();
|
os.run();
|
||||||
} else {
|
} else {
|
||||||
os.set_exit_code(EXIT_FAILURE);
|
os.set_exit_code(EXIT_FAILURE);
|
||||||
|
Loading…
Reference in New Issue
Block a user