summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-10-15 03:17:40 +0200
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-10-15 03:17:40 +0200
commit7d59a14db83bf8622cf4006ebd1d0b279a909f3d (patch)
treec215c5900a44f2030b99a3fd2265b34b8dceff87 /SConstruct
parent39534a7aecc4ca4215af67244b23dda09ea339f8 (diff)
Fix Godot exiting with unexpected failure code
The exit code is initialized as EXIT_FAILURE to indicate failures during startup. Closing the Game window via the window manager does not change the exit code, so the program exists with EXIT_FAILURE. This PR set the exit code to EXIT_SUCCESS when initialization was successful just before starting the main loop.
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions