Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix headless check in Exporting for dedicated servers (godotengine#8362)
The example didn't work as `--headless` isn't part of `OS.get_cmdline_args()`' return value. This new approach also works if the binary automatically uses headless mode because it's the only display server built in the binary (which can be the case for custom builds). Co-authored-by: Hugo Locurcio <[email protected]>
- Loading branch information