1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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
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;
}