Fix bug when launching a game with no main scene
Issue #15704 (closed)
At first I wanted to do this in Main::start
but could not find a way to isolate a launch next to a project.godot
file. So in the end, the fix is in Main::setup
.
Check for a main scene after loading project settings and exit if there's none (except if launching in editor mode).