Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead

This commit is contained in:
Emmanuel Leblond 2020-06-04 22:03:45 +02:00
parent 0e4abcb77f
commit 60d2c1fd47
No known key found for this signature in database
GPG key ID: C360860E645EFFC0
9 changed files with 8 additions and 43 deletions

View file

@ -1992,7 +1992,7 @@ bool Main::start() {
if (check_only) {
if (!script_res->is_valid()) {
OS::get_singleton()->set_exit_code(1);
OS::get_singleton()->set_exit_code(EXIT_FAILURE);
}
return false;
}